python-numpy: add config files for armeb architecture

Fix python-numpy build failure on armeb architecture.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Acked-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Fathi Boudra
2013-10-11 08:09:00 +00:00
committed by Martin Jansa
parent 0933085d53
commit 9fede488dc
3 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/* ./src.linux-i686-2.5/numpy/core/include/numpy/config.h */
/* #define SIZEOF_SHORT 2 */
/* #define SIZEOF_INT 4 */
/* #define SIZEOF_LONG 4 */
/* #define SIZEOF_FLOAT 4 */
/* #define SIZEOF_DOUBLE 8 */
#define SIZEOF_LONG_DOUBLE 12
#define SIZEOF_PY_INTPTR_T 4
/* #define SIZEOF_LONG_LONG 8 */
#define SIZEOF_PY_LONG_LONG 8
/* #define CHAR_BIT 8 */
#define MATHLIB m
#define HAVE_FLOAT_FUNCS
#define HAVE_LOG1P
#define HAVE_EXPM1
#define HAVE_INVERSE_HYPERBOLIC
#define HAVE_INVERSE_HYPERBOLIC_FLOAT
#define HAVE_ISNAN
#define HAVE_ISINF
#define HAVE_RINT

View File

@@ -0,0 +1,17 @@
/* cat ./src.linux-i686-2.5/numpy/core/include/numpy/numpyconfig.h */
/*
* * This file is generated by numpy/core/setup.pyc. DO NOT EDIT
* */
#define NPY_SIZEOF_SHORT 2
#define NPY_SIZEOF_INT 4
#define NPY_SIZEOF_LONG 4
#define NPY_SIZEOF_FLOAT 4
#define NPY_SIZEOF_DOUBLE 8
#define NPY_SIZEOF_LONGDOUBLE 12
#define NPY_SIZEOF_PY_INTPTR_T 4
#define NPY_NO_SMP 0
#define NPY_SIZEOF_LONGLONG 8
#define NPY_SIZEOF_PY_LONG_LONG 8
/* #define CHAR_BIT 8 */