summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-numpy/x86
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python-numpy/x86')
-rw-r--r--meta/recipes-devtools/python/python-numpy/x86/config.h108
-rw-r--r--meta/recipes-devtools/python/python-numpy/x86/numpyconfig.h24
2 files changed, 132 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-numpy/x86/config.h b/meta/recipes-devtools/python/python-numpy/x86/config.h
new file mode 100644
index 0000000000..08e41e3d99
--- /dev/null
+++ b/meta/recipes-devtools/python/python-numpy/x86/config.h
@@ -0,0 +1,108 @@
1#define SIZEOF_PY_INTPTR_T 4
2#define SIZEOF_PY_LONG_LONG 8
3#define MATHLIB m
4#define HAVE_SIN
5#define HAVE_COS
6#define HAVE_TAN
7#define HAVE_SINH
8#define HAVE_COSH
9#define HAVE_TANH
10#define HAVE_FABS
11#define HAVE_FLOOR
12#define HAVE_CEIL
13#define HAVE_SQRT
14#define HAVE_LOG10
15#define HAVE_LOG
16#define HAVE_EXP
17#define HAVE_ASIN
18#define HAVE_ACOS
19#define HAVE_ATAN
20#define HAVE_FMOD
21#define HAVE_MODF
22#define HAVE_FREXP
23#define HAVE_LDEXP
24#define HAVE_RINT
25#define HAVE_TRUNC
26#define HAVE_EXP2
27#define HAVE_LOG2
28#define HAVE_ATAN2
29#define HAVE_POW
30#define HAVE_NEXTAFTER
31#define HAVE_SINF
32#define HAVE_COSF
33#define HAVE_TANF
34#define HAVE_SINHF
35#define HAVE_COSHF
36#define HAVE_TANHF
37#define HAVE_FABSF
38#define HAVE_FLOORF
39#define HAVE_CEILF
40#define HAVE_RINTF
41#define HAVE_TRUNCF
42#define HAVE_SQRTF
43#define HAVE_LOG10F
44#define HAVE_LOGF
45#define HAVE_LOG1PF
46#define HAVE_EXPF
47#define HAVE_EXPM1F
48#define HAVE_ASINF
49#define HAVE_ACOSF
50#define HAVE_ATANF
51#define HAVE_ASINHF
52#define HAVE_ACOSHF
53#define HAVE_ATANHF
54#define HAVE_HYPOTF
55#define HAVE_ATAN2F
56#define HAVE_POWF
57#define HAVE_FMODF
58#define HAVE_MODFF
59#define HAVE_FREXPF
60#define HAVE_LDEXPF
61#define HAVE_EXP2F
62#define HAVE_LOG2F
63#define HAVE_COPYSIGNF
64#define HAVE_NEXTAFTERF
65#define HAVE_SINL
66#define HAVE_COSL
67#define HAVE_TANL
68#define HAVE_SINHL
69#define HAVE_COSHL
70#define HAVE_TANHL
71#define HAVE_FABSL
72#define HAVE_FLOORL
73#define HAVE_CEILL
74#define HAVE_RINTL
75#define HAVE_TRUNCL
76#define HAVE_SQRTL
77#define HAVE_LOG10L
78#define HAVE_LOGL
79#define HAVE_LOG1PL
80#define HAVE_EXPL
81#define HAVE_EXPM1L
82#define HAVE_ASINL
83#define HAVE_ACOSL
84#define HAVE_ATANL
85#define HAVE_ASINHL
86#define HAVE_ACOSHL
87#define HAVE_ATANHL
88#define HAVE_HYPOTL
89#define HAVE_ATAN2L
90#define HAVE_POWL
91#define HAVE_FMODL
92#define HAVE_MODFL
93#define HAVE_FREXPL
94#define HAVE_LDEXPL
95#define HAVE_EXP2L
96#define HAVE_LOG2L
97#define HAVE_COPYSIGNL
98#define HAVE_NEXTAFTERL
99#define HAVE_DECL_SIGNBIT
100#define HAVE_COMPLEX_H
101#define HAVE_LDOUBLE_INTEL_EXTENDED_12_BYTES_LE 1
102#ifndef __cplusplus
103/* #undef inline */
104#endif
105
106#ifndef _NPY_NPY_CONFIG_H_
107#error config.h should never be included directly, include npy_config.h instead
108#endif
diff --git a/meta/recipes-devtools/python/python-numpy/x86/numpyconfig.h b/meta/recipes-devtools/python/python-numpy/x86/numpyconfig.h
new file mode 100644
index 0000000000..ff7938cd96
--- /dev/null
+++ b/meta/recipes-devtools/python/python-numpy/x86/numpyconfig.h
@@ -0,0 +1,24 @@
1#ifndef _NPY_NUMPYCONFIG_H_
2#define _NPY_NUMPYCONFIG_H_
3
4#include "_numpyconfig.h"
5
6/*
7 * On Mac OS X, because there is only one configuration stage for all the archs
8 * in universal builds, any macro which depends on the arch needs to be
9 * harcoded
10 */
11#ifdef __APPLE__
12 #undef NPY_SIZEOF_LONG
13 #undef NPY_SIZEOF_PY_INTPTR_T
14
15 #ifdef __LP64__
16 #define NPY_SIZEOF_LONG 8
17 #define NPY_SIZEOF_PY_INTPTR_T 8
18 #else
19 #define NPY_SIZEOF_LONG 4
20 #define NPY_SIZEOF_PY_INTPTR_T 4
21 #endif
22#endif
23
24#endif