aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/python/python-numpy/powerpc/config.h
diff options
context:
space:
mode:
authorZhenhua Luo <zhenhua.luo@freescale.com>2013-11-21 12:50:12 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2013-12-05 19:48:07 +0100
commit7f903c9d0b286b124a3e0070363fd425919e1cf8 (patch)
treea2c0595a28334353e8fa23dd9f896a3ea2f6f7f9 /meta-oe/recipes-devtools/python/python-numpy/powerpc/config.h
parent742bd501e89550defc95856336770590790f7385 (diff)
downloadmeta-openembedded-contrib-7f903c9d0b286b124a3e0070363fd425919e1cf8.tar.gz
python-numpy: add support for powerpc architecture
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/python/python-numpy/powerpc/config.h')
-rw-r--r--meta-oe/recipes-devtools/python/python-numpy/powerpc/config.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/python/python-numpy/powerpc/config.h b/meta-oe/recipes-devtools/python/python-numpy/powerpc/config.h
new file mode 100644
index 0000000000..17ef186d56
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-numpy/powerpc/config.h
@@ -0,0 +1,21 @@
+/* ./src.linux-i686-2.5/numpy/core/include/numpy/config.h */
+/* #define SIZEOF_SHORT 2 */
+/* #define SIZEOF_INT 4 */
+/* #define SIZEOF_LONG 4 */
+/* #define SIZEOF_FLOAT 4 */
+/* #define SIZEOF_DOUBLE 8 */
+#define SIZEOF_LONG_DOUBLE 12
+#define SIZEOF_PY_INTPTR_T 4
+/* #define SIZEOF_LONG_LONG 8 */
+#define SIZEOF_PY_LONG_LONG 8
+/* #define CHAR_BIT 8 */
+#define MATHLIB m
+#define HAVE_FLOAT_FUNCS
+#define HAVE_LOG1P
+#define HAVE_EXPM1
+#define HAVE_INVERSE_HYPERBOLIC
+#define HAVE_INVERSE_HYPERBOLIC_FLOAT
+#define HAVE_ISNAN
+#define HAVE_ISINF
+#define HAVE_RINT
+