From 9d7867a054f84e6e53cff1da26f32caeec0180d6 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Thu, 12 May 2016 16:43:36 +0300 Subject: python-numpy: move recipe to own directory This is done so that patches can be shared with python3-numpy (From OE-Core rev: 9bffe2f9fb4ce6c0b265f27e5b484fbe076c6349) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- .../python-numpy/files/arm/config.h | 21 +++++++++++++++++++++ .../python-numpy/files/arm/numpyconfig.h | 17 +++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 meta/recipes-devtools/python-numpy/files/arm/config.h create mode 100644 meta/recipes-devtools/python-numpy/files/arm/numpyconfig.h (limited to 'meta/recipes-devtools/python-numpy/files/arm') diff --git a/meta/recipes-devtools/python-numpy/files/arm/config.h b/meta/recipes-devtools/python-numpy/files/arm/config.h new file mode 100644 index 0000000000..17ef186d56 --- /dev/null +++ b/meta/recipes-devtools/python-numpy/files/arm/config.h @@ -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 + diff --git a/meta/recipes-devtools/python-numpy/files/arm/numpyconfig.h b/meta/recipes-devtools/python-numpy/files/arm/numpyconfig.h new file mode 100644 index 0000000000..c4bf6547f0 --- /dev/null +++ b/meta/recipes-devtools/python-numpy/files/arm/numpyconfig.h @@ -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 */ + -- cgit v1.2.3-54-g00ecf