]> code.ossystems Code Review - openembedded-core.git/commit
python{3}-numpy: Predefine of sizeof off_t on mips/mipsel/ppc
authorKhem Raj <raj.khem@gmail.com>
Fri, 8 Jul 2016 23:03:43 +0000 (16:03 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2016 09:24:49 +0000 (10:24 +0100)
commit6d8cc72e7f83b9819ff1bbdb72ca61f98de403a4
treea50f899abf303983e2036653533c549137704310
parentdfa8be08aa6e7ad6dbc615df8875dc2ac1ac8946
python{3}-numpy: Predefine of sizeof off_t on mips/mipsel/ppc

Fixes below errors as seen on musl

| In file included from numpy/core/include/numpy/ndarraytypes.h:4:0,
|                  from numpy/core/include/numpy/ndarrayobject.h:18,
|                  from numpy/core/include/numpy/arrayobject.h:4,
|                  from numpy/core/src/multiarray/compiled_base.c:7:
| numpy/core/include/numpy/npy_common.h:167:10: error: #error Unsupported size for type off_t
|          #error Unsupported size for type off_t
|           ^~~~~
| In file included from numpy/core/include/numpy/ndarraytypes.h:4:0,
|                  from numpy/core/include/numpy/ndarrayobject.h:18,
|                  from numpy/core/include/numpy/arrayobject.h:4,
|                  from numpy/core/src/multiarray/compiled_base.c:7:
| numpy/core/include/numpy/npy_common.h:167:10: error: #error Unsupported size for type off_t
|          #error Unsupported size for type off_t
|           ^~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/python-numpy/files/mips/_numpyconfig.h
meta/recipes-devtools/python-numpy/files/mipsel/numpyconfig.h
meta/recipes-devtools/python-numpy/files/powerpc/_numpyconfig.h