From 1831408cf1949576f5fd1526b8e4fd6a535f9e89 Mon Sep 17 00:00:00 2001 From: Marco Cavallini Date: Fri, 14 Oct 2011 17:05:28 +0200 Subject: python-numpy: copied missing files from arm directory * this is a temporary patch that allow build to complete * python-numpy mantainer should verify and reorganize files in this recipe --- recipes/python/python-numpy/config.h | 21 +++++++++++++++++++++ recipes/python/python-numpy/numpyconfig.h | 17 +++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 recipes/python/python-numpy/config.h create mode 100644 recipes/python/python-numpy/numpyconfig.h diff --git a/recipes/python/python-numpy/config.h b/recipes/python/python-numpy/config.h new file mode 100644 index 0000000000..17ef186d56 --- /dev/null +++ b/recipes/python/python-numpy/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/recipes/python/python-numpy/numpyconfig.h b/recipes/python/python-numpy/numpyconfig.h new file mode 100644 index 0000000000..c4bf6547f0 --- /dev/null +++ b/recipes/python/python-numpy/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 1.2.3-korg