aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-08-28 19:52:21 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-01 18:00:32 +0100
commit4c0a9ccbad2889b27b4b1d2ab91215a4bdcca3ce (patch)
tree384c082e15ae98af35a46705af05b6f3caf77675 /meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h
parent12edeff6f23512ff88097f7ca4cf30ca3653d2eb (diff)
downloadopenembedded-core-contrib-4c0a9ccbad2889b27b4b1d2ab91215a4bdcca3ce.tar.gz
openembedded-core-contrib-4c0a9ccbad2889b27b4b1d2ab91215a4bdcca3ce.tar.bz2
openembedded-core-contrib-4c0a9ccbad2889b27b4b1d2ab91215a4bdcca3ce.zip
python-numpy: Fix build for mips64
Add missing mips64 specific config files Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h')
-rw-r--r--meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h b/meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h
new file mode 100644
index 0000000000..be57ac27bf
--- /dev/null
+++ b/meta/recipes-devtools/python/python-numpy/mips64/_numpyconfig.h
@@ -0,0 +1,30 @@
+#define NPY_HAVE_ENDIAN_H 1
+#define NPY_SIZEOF_SHORT SIZEOF_SHORT
+#define NPY_SIZEOF_INT SIZEOF_INT
+#define NPY_SIZEOF_LONG SIZEOF_LONG
+#define NPY_SIZEOF_FLOAT 4
+#define NPY_SIZEOF_COMPLEX_FLOAT 8
+#define NPY_SIZEOF_DOUBLE 8
+#define NPY_SIZEOF_COMPLEX_DOUBLE 16
+#define NPY_SIZEOF_LONGDOUBLE 16
+#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
+#define NPY_SIZEOF_PY_INTPTR_T 8
+#define NPY_SIZEOF_PY_LONG_LONG 8
+#define NPY_SIZEOF_LONGLONG 8
+#define NPY_NO_SMP 0
+#define NPY_HAVE_DECL_ISNAN
+#define NPY_HAVE_DECL_ISINF
+#define NPY_HAVE_DECL_ISFINITE
+#define NPY_HAVE_DECL_SIGNBIT
+#define NPY_USE_C99_COMPLEX 1
+#define NPY_HAVE_COMPLEX_DOUBLE 1
+#define NPY_HAVE_COMPLEX_FLOAT 1
+#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
+#define NPY_USE_C99_FORMATS 1
+#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
+#define NPY_ABI_VERSION 0x01000009
+#define NPY_API_VERSION 0x00000007
+
+#ifndef __STDC_FORMAT_MACROS
+#define __STDC_FORMAT_MACROS 1
+#endif