python-numpy: fix build for qemumips and qemuppc
v2 cover python-numpy: fix build for qemumips and qemuppc
The following changes since commit 5a4b5c6b8ebd5f8d29888aafcd9608e03717bcd5:
runqemu: Use readlink instead of realpath (2014-02-25 21:29:51 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib ChenQi/python-numpy
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=ChenQi/python-numpy
Chen Qi (1):
python-numpy: fix build for qemumips and qemuppc
.../python/python-numpy/mips/_numpyconfig.h | 30 +++++ .../python/python-numpy/mips/config.h | 139 ++++++++++++++++++++ .../python/python-numpy/powerpc/_numpyconfig.h | 30 +++++ .../python/python-numpy/powerpc/config.h | 139 ++++++++++++++++++++ meta/recipes-devtools/python/python-numpy_1.7.0.bb | 8 ++ 5 files changed, 346 insertions(+) create mode 100644 meta/recipes-devtools/python/python-numpy/mips/_numpyconfig.h create mode 100644 meta/recipes-devtools/python/python-numpy/mips/config.h create mode 100644 meta/recipes-devtools/python/python-numpy/powerpc/_numpyconfig.h create mode 100644 meta/recipes-devtools/python/python-numpy/powerpc/config.h
Signature · 1 line
1.7.9.5
PATCH v2 1/1 python-numpy: fix build for qemumips and qemuppc
When building python-numpy for qemumips or qemuppc, the following error appeared.
cp: cannot stat `xxx/python-numpy/1.7.0-r1/*config.h': No such file or directory
This is because for qemumips or qemuppc, there are no such files in SRC_URI.
This patch fixes this compiling error by adding necessary files to the SRC_URI.
--- .../python/python-numpy/mips/_numpyconfig.h | 30 +++++ .../python/python-numpy/mips/config.h | 139 ++++++++++++++++++++ .../python/python-numpy/powerpc/_numpyconfig.h | 30 +++++ .../python/python-numpy/powerpc/config.h | 139 ++++++++++++++++++++ meta/recipes-devtools/python/python-numpy_1.7.0.bb | 8 ++ 5 files changed, 346 insertions(+) create mode 100644 meta/recipes-devtools/python/python-numpy/mips/_numpyconfig.h create mode 100644 meta/recipes-devtools/python/python-numpy/mips/config.h create mode 100644 meta/recipes-devtools/python/python-numpy/powerpc/_numpyconfig.h create mode 100644 meta/recipes-devtools/python/python-numpy/powerpc/config.h
meta/recipes-devtools/python/python-numpy/mips/_numpyconfig.h new file +30 -0
@@ -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 8 +#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 16 +#define NPY_SIZEOF_PY_INTPTR_T 4 +#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
meta/recipes-devtools/python/python-numpy/mips/config.h new file +139 -0
139 lines not on this page · raw message
meta/recipes-devtools/python/python-numpy/powerpc/_numpyconfig.h new file +30 -0
@@ -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 4 +#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
meta/recipes-devtools/python/python-numpy/powerpc/config.h new file +139 -0
139 lines not on this page · raw message
meta/recipes-devtools/python/python-numpy_1.7.0.bb +8 -0
@@ -34,6 +34,14 @@ CONFIGFILESURI_x86-64 = " \ file://config.h \ file://_numpyconfig.h \ " +CONFIGFILESURI_mips = " \ + file://config.h \ + file://_numpyconfig.h \ +" +CONFIGFILESURI_powerpc = " \ + file://config.h \ + file://_numpyconfig.h \ +" S = "${WORKDIR}/numpy-${PV}"
Signature · 1 line
1.7.9.5