summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-numpy/mips64n32/_numpyconfig.h
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2015-01-21 22:45:28 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-29 15:36:49 +0000
commit3bf5b6de3edb0d6589155fc1e2cd284c05532c52 (patch)
treed23916356c995f2e36a5aaffa953c6fa710c4d33 /meta/recipes-devtools/python/python-numpy/mips64n32/_numpyconfig.h
parente558e5489da890ff28a1360e279726b51edb1a73 (diff)
downloadpoky-3bf5b6de3edb0d6589155fc1e2cd284c05532c52.tar.gz
arch-mips.inc: Change definition of TRANSLATED_TARGET_ARCH
[YOCTO #7230] In certain system configurations TRANSLATED_TARGET_ARCH will not expand in the right order for gcc-cross-candian-mips64n32 to be generated properly. This will cause SDKs to fail to generate properly. Changing the global definition of TRANSLATED_TARGET_ARCH always expands the ABIEXTENSION, which causes the OVERRIDES to pick it up as well. This effectively defines a new class of overrides for the 'n32'. The side effect is that we need to duplicate some mips64 overrides, and redefine others that were previously 'n32' or 'mips64' exclusive to have the correct semantics. (From OE-Core rev: 4b3a2b703b20583bd107f00a297d972e9bfb514a) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-numpy/mips64n32/_numpyconfig.h')
-rw-r--r--meta/recipes-devtools/python/python-numpy/mips64n32/_numpyconfig.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-numpy/mips64n32/_numpyconfig.h b/meta/recipes-devtools/python/python-numpy/mips64n32/_numpyconfig.h
new file mode 100644
index 0000000000..be57ac27bf
--- /dev/null
+++ b/meta/recipes-devtools/python/python-numpy/mips64n32/_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