diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2019-09-10 19:00:08 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-16 23:02:44 +0100 |
commit | 1dc518776a0670eb541afa13203cab0de0e5adb3 (patch) | |
tree | 8a28200c08edc9fd88356d4a7b1a60758f725b77 /meta/recipes-devtools/python-numpy | |
parent | 7f87451e6ea28cb028598e5358387d2c06e291a9 (diff) | |
download | poky-1dc518776a0670eb541afa13203cab0de0e5adb3.tar.gz |
python-numpy: fix build for libn32
Fix do_compile failure for libn32. To reproduce, use the following config.
MACHINE = "qemumips64"
require conf/multilib.conf
MULTILIB_GLOBAL_VARIANTS_append = " libn32"
MULTILIBS ?= "multilib:lib32 multilib:libn32"
DEFAULTTUNE_virtclass-multilib-lib32 ?= "mips"
DEFAULTTUNE_virtclass-multilib-libn32 ?= "mips64-n32"
The error message is as following.
numpy/core/include/numpy/npy_common.h:206:10: error: #error Unsupported size for type off_t
(From OE-Core rev: b659b6dcb6be203e8c7bc678c902d4a31ce9fe70)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python-numpy')
-rw-r--r-- | meta/recipes-devtools/python-numpy/files/mipsarchn32eb/_numpyconfig.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python-numpy/files/mipsarchn32eb/_numpyconfig.h b/meta/recipes-devtools/python-numpy/files/mipsarchn32eb/_numpyconfig.h index 8e2b5d0940..debb390094 100644 --- a/meta/recipes-devtools/python-numpy/files/mipsarchn32eb/_numpyconfig.h +++ b/meta/recipes-devtools/python-numpy/files/mipsarchn32eb/_numpyconfig.h | |||
@@ -12,6 +12,7 @@ | |||
12 | #define NPY_SIZEOF_PY_INTPTR_T 8 | 12 | #define NPY_SIZEOF_PY_INTPTR_T 8 |
13 | #define NPY_SIZEOF_PY_LONG_LONG 8 | 13 | #define NPY_SIZEOF_PY_LONG_LONG 8 |
14 | #define NPY_SIZEOF_LONGLONG 8 | 14 | #define NPY_SIZEOF_LONGLONG 8 |
15 | #define NPY_SIZEOF_OFF_T 8 | ||
15 | #define NPY_NO_SMP 0 | 16 | #define NPY_NO_SMP 0 |
16 | #define NPY_HAVE_DECL_ISNAN | 17 | #define NPY_HAVE_DECL_ISNAN |
17 | #define NPY_HAVE_DECL_ISINF | 18 | #define NPY_HAVE_DECL_ISINF |