[gnome-continuous-yocto/gnomeostree-3.22-krogoth: 18/246] python{3}-numpy: Predefine of sizeof off_t on mips/mipsel/ppc
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.22-krogoth: 18/246] python{3}-numpy: Predefine of sizeof off_t on mips/mipsel/ppc
- Date: Thu, 14 Dec 2017 11:49:42 +0000 (UTC)
commit 8f300880c4bbcb672b96e9d9f89aac4a50af3daa
Author: Khem Raj <raj khem gmail com>
Date: Fri Jul 8 16:03:43 2016 -0700
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
| ^~~~~
(From OE-Core rev: 6d8cc72e7f83b9819ff1bbdb72ca61f98de403a4)
(From OE-Core rev: 0697278232521db7f640f5d32ff3b707d2aaea6e)
Signed-off-by: Khem Raj <raj khem gmail com>
Signed-off-by: Ross Burton <ross burton intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
Signed-off-by: Armin Kuster <akuster808 gmail com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
.../python/python-numpy/arm/numpyconfig.h | 1 +
.../python/python-numpy/mips/_numpyconfig.h | 1 +
.../python/python-numpy/powerpc/_numpyconfig.h | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/meta/recipes-devtools/python/python-numpy/arm/numpyconfig.h
b/meta/recipes-devtools/python/python-numpy/arm/numpyconfig.h
index c4bf654..0b7cd51 100644
--- a/meta/recipes-devtools/python/python-numpy/arm/numpyconfig.h
+++ b/meta/recipes-devtools/python/python-numpy/arm/numpyconfig.h
@@ -13,5 +13,6 @@
#define NPY_SIZEOF_LONGLONG 8
#define NPY_SIZEOF_PY_LONG_LONG 8
+#define NPY_SIZEOF_OFF_T 8
/* #define CHAR_BIT 8 */
diff --git a/meta/recipes-devtools/python/python-numpy/mips/_numpyconfig.h
b/meta/recipes-devtools/python/python-numpy/mips/_numpyconfig.h
index 05d2b8b..4c465c2 100644
--- a/meta/recipes-devtools/python/python-numpy/mips/_numpyconfig.h
+++ b/meta/recipes-devtools/python/python-numpy/mips/_numpyconfig.h
@@ -12,6 +12,7 @@
#define NPY_SIZEOF_PY_INTPTR_T 4
#define NPY_SIZEOF_PY_LONG_LONG 8
#define NPY_SIZEOF_LONGLONG 8
+#define NPY_SIZEOF_OFF_T 8
#define NPY_NO_SMP 0
#define NPY_HAVE_DECL_ISNAN
#define NPY_HAVE_DECL_ISINF
diff --git a/meta/recipes-devtools/python/python-numpy/powerpc/_numpyconfig.h
b/meta/recipes-devtools/python/python-numpy/powerpc/_numpyconfig.h
index 0f45d5b..6e7262a 100644
--- a/meta/recipes-devtools/python/python-numpy/powerpc/_numpyconfig.h
+++ b/meta/recipes-devtools/python/python-numpy/powerpc/_numpyconfig.h
@@ -12,6 +12,7 @@
#define NPY_SIZEOF_PY_INTPTR_T 4
#define NPY_SIZEOF_PY_LONG_LONG 8
#define NPY_SIZEOF_LONGLONG 8
+#define NPY_SIZEOF_OFF_T 8
#define NPY_NO_SMP 0
#define NPY_HAVE_DECL_ISNAN
#define NPY_HAVE_DECL_ISINF
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]