summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h
diff options
context:
space:
mode:
authorZhenhua Luo <zhenhua.luo@freescale.com>2013-11-21 12:50:12 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2013-12-05 19:48:07 +0100
commit7f903c9d0b286b124a3e0070363fd425919e1cf8 (patch)
treea2c0595a28334353e8fa23dd9f896a3ea2f6f7f9 /meta-oe/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h
parent742bd501e89550defc95856336770590790f7385 (diff)
downloadmeta-openembedded-7f903c9d0b286b124a3e0070363fd425919e1cf8.tar.gz
python-numpy: add support for powerpc architecture
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h')
-rw-r--r--meta-oe/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h b/meta-oe/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h
new file mode 100644
index 0000000000..be57ac27bf
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-numpy/powerpc64/_numpyconfig.h
@@ -0,0 +1,30 @@
1#define NPY_HAVE_ENDIAN_H 1
2#define NPY_SIZEOF_SHORT SIZEOF_SHORT
3#define NPY_SIZEOF_INT SIZEOF_INT
4#define NPY_SIZEOF_LONG SIZEOF_LONG
5#define NPY_SIZEOF_FLOAT 4
6#define NPY_SIZEOF_COMPLEX_FLOAT 8
7#define NPY_SIZEOF_DOUBLE 8
8#define NPY_SIZEOF_COMPLEX_DOUBLE 16
9#define NPY_SIZEOF_LONGDOUBLE 16
10#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
11#define NPY_SIZEOF_PY_INTPTR_T 8
12#define NPY_SIZEOF_PY_LONG_LONG 8
13#define NPY_SIZEOF_LONGLONG 8
14#define NPY_NO_SMP 0
15#define NPY_HAVE_DECL_ISNAN
16#define NPY_HAVE_DECL_ISINF
17#define NPY_HAVE_DECL_ISFINITE
18#define NPY_HAVE_DECL_SIGNBIT
19#define NPY_USE_C99_COMPLEX 1
20#define NPY_HAVE_COMPLEX_DOUBLE 1
21#define NPY_HAVE_COMPLEX_FLOAT 1
22#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
23#define NPY_USE_C99_FORMATS 1
24#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
25#define NPY_ABI_VERSION 0x01000009
26#define NPY_API_VERSION 0x00000007
27
28#ifndef __STDC_FORMAT_MACROS
29#define __STDC_FORMAT_MACROS 1
30#endif