summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python-numpy/files
diff options
context:
space:
mode:
authorZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>2016-11-23 13:47:30 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-30 15:48:07 +0000
commit3680c265a43138b6e177f8b3155ba1095bfcd5b4 (patch)
treeb3d3701f5126d26366bbc84eefd3a383509319a7 /meta/recipes-devtools/python-numpy/files
parent61ad3d8da0d5a03727a0166cbc18e78649fb8577 (diff)
downloadpoky-3680c265a43138b6e177f8b3155ba1095bfcd5b4.tar.gz
python-numpy: Use MIPS MACHINE_OVERRIDES to reduce duplication
The mipsarch* MACHINE_OVERRIDES can be used to pass the same parameters to MIPS pre-R2 and R6 ISA variants. Use them to reduce duplication in supporting MIPS R6 ISA. (From OE-Core rev: a48dbddab9524e78eeac53484d9dbfa0b484c561) Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python-numpy/files')
-rw-r--r--meta/recipes-devtools/python-numpy/files/mipsarchn32eb/_numpyconfig.h (renamed from meta/recipes-devtools/python-numpy/files/mips64n32/_numpyconfig.h)0
-rw-r--r--meta/recipes-devtools/python-numpy/files/mipsarchn32eb/config.h (renamed from meta/recipes-devtools/python-numpy/files/mips64/config.h)0
-rw-r--r--meta/recipes-devtools/python-numpy/files/mipsarchn32el/_numpyconfig.h31
-rw-r--r--meta/recipes-devtools/python-numpy/files/mipsarchn32el/config.h138
-rw-r--r--meta/recipes-devtools/python-numpy/files/mipsarchn64eb/_numpyconfig.h (renamed from meta/recipes-devtools/python-numpy/files/mips64/_numpyconfig.h)0
-rw-r--r--meta/recipes-devtools/python-numpy/files/mipsarchn64eb/config.h (renamed from meta/recipes-devtools/python-numpy/files/mips64n32/config.h)0
-rw-r--r--meta/recipes-devtools/python-numpy/files/mipsarchn64el/_numpyconfig.h32
-rw-r--r--meta/recipes-devtools/python-numpy/files/mipsarchn64el/config.h138
-rw-r--r--meta/recipes-devtools/python-numpy/files/mipsarcho32eb/_numpyconfig.h (renamed from meta/recipes-devtools/python-numpy/files/mips/_numpyconfig.h)0
-rw-r--r--meta/recipes-devtools/python-numpy/files/mipsarcho32eb/config.h (renamed from meta/recipes-devtools/python-numpy/files/mips/config.h)0
-rw-r--r--meta/recipes-devtools/python-numpy/files/mipsarcho32el/config.h (renamed from meta/recipes-devtools/python-numpy/files/mipsel/config.h)0
-rw-r--r--meta/recipes-devtools/python-numpy/files/mipsarcho32el/numpyconfig.h (renamed from meta/recipes-devtools/python-numpy/files/mipsel/numpyconfig.h)0
12 files changed, 339 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python-numpy/files/mips64n32/_numpyconfig.h b/meta/recipes-devtools/python-numpy/files/mipsarchn32eb/_numpyconfig.h
index 8e2b5d0940..8e2b5d0940 100644
--- a/meta/recipes-devtools/python-numpy/files/mips64n32/_numpyconfig.h
+++ b/meta/recipes-devtools/python-numpy/files/mipsarchn32eb/_numpyconfig.h
diff --git a/meta/recipes-devtools/python-numpy/files/mips64/config.h b/meta/recipes-devtools/python-numpy/files/mipsarchn32eb/config.h
index c30b868f2f..c30b868f2f 100644
--- a/meta/recipes-devtools/python-numpy/files/mips64/config.h
+++ b/meta/recipes-devtools/python-numpy/files/mipsarchn32eb/config.h
diff --git a/meta/recipes-devtools/python-numpy/files/mipsarchn32el/_numpyconfig.h b/meta/recipes-devtools/python-numpy/files/mipsarchn32el/_numpyconfig.h
new file mode 100644
index 0000000000..8e2b5d0940
--- /dev/null
+++ b/meta/recipes-devtools/python-numpy/files/mipsarchn32el/_numpyconfig.h
@@ -0,0 +1,31 @@
1#define NPY_HAVE_ENDIAN_H 1
2#define NPY_SIZEOF_SHORT SIZEOF_SHORT
3#define NPY_SIZEOF_INT SIZEOF_INT
4#define NPY_SIZEOF_LONG SIZEOF_LONG
5#define NPY_SIZEOF_FLOAT 4
6#define NPY_SIZEOF_COMPLEX_FLOAT 8
7#define NPY_SIZEOF_DOUBLE 8
8#define NPY_SIZEOF_COMPLEX_DOUBLE 16
9#define NPY_SIZEOF_LONGDOUBLE 16
10#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
11#define NPY_ENABLE_SEPARATE_COMPILATION 1
12#define NPY_SIZEOF_PY_INTPTR_T 8
13#define NPY_SIZEOF_PY_LONG_LONG 8
14#define NPY_SIZEOF_LONGLONG 8
15#define NPY_NO_SMP 0
16#define NPY_HAVE_DECL_ISNAN
17#define NPY_HAVE_DECL_ISINF
18#define NPY_HAVE_DECL_ISFINITE
19#define NPY_HAVE_DECL_SIGNBIT
20#define NPY_USE_C99_COMPLEX 1
21#define NPY_HAVE_COMPLEX_DOUBLE 1
22#define NPY_HAVE_COMPLEX_FLOAT 1
23#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
24#define NPY_USE_C99_FORMATS 1
25#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
26#define NPY_ABI_VERSION 0x01000009
27#define NPY_API_VERSION 0x0000000A
28
29#ifndef __STDC_FORMAT_MACROS
30#define __STDC_FORMAT_MACROS 1
31#endif
diff --git a/meta/recipes-devtools/python-numpy/files/mipsarchn32el/config.h b/meta/recipes-devtools/python-numpy/files/mipsarchn32el/config.h
new file mode 100644
index 0000000000..48727039ae
--- /dev/null
+++ b/meta/recipes-devtools/python-numpy/files/mipsarchn32el/config.h
@@ -0,0 +1,138 @@
1#define SIZEOF_PY_INTPTR_T 8
2#define SIZEOF_PY_LONG_LONG 8
3#define MATHLIB m
4#define HAVE_SIN 1
5#define HAVE_COS 1
6#define HAVE_TAN 1
7#define HAVE_SINH 1
8#define HAVE_COSH 1
9#define HAVE_TANH 1
10#define HAVE_FABS 1
11#define HAVE_FLOOR 1
12#define HAVE_CEIL 1
13#define HAVE_SQRT 1
14#define HAVE_LOG10 1
15#define HAVE_LOG 1
16#define HAVE_EXP 1
17#define HAVE_ASIN 1
18#define HAVE_ACOS 1
19#define HAVE_ATAN 1
20#define HAVE_FMOD 1
21#define HAVE_MODF 1
22#define HAVE_FREXP 1
23#define HAVE_LDEXP 1
24#define HAVE_RINT 1
25#define HAVE_TRUNC 1
26#define HAVE_EXP2 1
27#define HAVE_LOG2 1
28#define HAVE_ATAN2 1
29#define HAVE_POW 1
30#define HAVE_NEXTAFTER 1
31#define HAVE_SINF 1
32#define HAVE_COSF 1
33#define HAVE_TANF 1
34#define HAVE_SINHF 1
35#define HAVE_COSHF 1
36#define HAVE_TANHF 1
37#define HAVE_FABSF 1
38#define HAVE_FLOORF 1
39#define HAVE_CEILF 1
40#define HAVE_RINTF 1
41#define HAVE_TRUNCF 1
42#define HAVE_SQRTF 1
43#define HAVE_LOG10F 1
44#define HAVE_LOGF 1
45#define HAVE_LOG1PF 1
46#define HAVE_EXPF 1
47#define HAVE_EXPM1F 1
48#define HAVE_ASINF 1
49#define HAVE_ACOSF 1
50#define HAVE_ATANF 1
51#define HAVE_ASINHF 1
52#define HAVE_ACOSHF 1
53#define HAVE_ATANHF 1
54#define HAVE_HYPOTF 1
55#define HAVE_ATAN2F 1
56#define HAVE_POWF 1
57#define HAVE_FMODF 1
58#define HAVE_MODFF 1
59#define HAVE_FREXPF 1
60#define HAVE_LDEXPF 1
61#define HAVE_EXP2F 1
62#define HAVE_LOG2F 1
63#define HAVE_COPYSIGNF 1
64#define HAVE_NEXTAFTERF 1
65#define HAVE_SINL 1
66#define HAVE_COSL 1
67#define HAVE_TANL 1
68#define HAVE_SINHL 1
69#define HAVE_COSHL 1
70#define HAVE_TANHL 1
71#define HAVE_FABSL 1
72#define HAVE_FLOORL 1
73#define HAVE_CEILL 1
74#define HAVE_RINTL 1
75#define HAVE_TRUNCL 1
76#define HAVE_SQRTL 1
77#define HAVE_LOG10L 1
78#define HAVE_LOGL 1
79#define HAVE_LOG1PL 1
80#define HAVE_EXPL 1
81#define HAVE_EXPM1L 1
82#define HAVE_ASINL 1
83#define HAVE_ACOSL 1
84#define HAVE_ATANL 1
85#define HAVE_ASINHL 1
86#define HAVE_ACOSHL 1
87#define HAVE_ATANHL 1
88#define HAVE_HYPOTL 1
89#define HAVE_ATAN2L 1
90#define HAVE_POWL 1
91#define HAVE_FMODL 1
92#define HAVE_MODFL 1
93#define HAVE_FREXPL 1
94#define HAVE_LDEXPL 1
95#define HAVE_EXP2L 1
96#define HAVE_LOG2L 1
97#define HAVE_COPYSIGNL 1
98#define HAVE_NEXTAFTERL 1
99#define HAVE_DECL_SIGNBIT
100#define HAVE_COMPLEX_H 1
101#define HAVE_CREAL 1
102#define HAVE_CIMAG 1
103#define HAVE_CABS 1
104#define HAVE_CARG 1
105#define HAVE_CEXP 1
106#define HAVE_CSQRT 1
107#define HAVE_CLOG 1
108#define HAVE_CCOS 1
109#define HAVE_CSIN 1
110#define HAVE_CPOW 1
111#define HAVE_CREALF 1
112#define HAVE_CIMAGF 1
113#define HAVE_CABSF 1
114#define HAVE_CARGF 1
115#define HAVE_CEXPF 1
116#define HAVE_CSQRTF 1
117#define HAVE_CLOGF 1
118#define HAVE_CCOSF 1
119#define HAVE_CSINF 1
120#define HAVE_CPOWF 1
121#define HAVE_CREALL 1
122#define HAVE_CIMAGL 1
123#define HAVE_CABSL 1
124#define HAVE_CARGL 1
125#define HAVE_CEXPL 1
126#define HAVE_CSQRTL 1
127#define HAVE_CLOGL 1
128#define HAVE_CCOSL 1
129#define HAVE_CSINL 1
130#define HAVE_CPOWL 1
131#define HAVE_LDOUBLE_IEEE_QUAD_LE 1
132#ifndef __cplusplus
133/* #undef inline */
134#endif
135
136#ifndef _NPY_NPY_CONFIG_H_
137#error config.h should never be included directly, include npy_config.h instead
138#endif
diff --git a/meta/recipes-devtools/python-numpy/files/mips64/_numpyconfig.h b/meta/recipes-devtools/python-numpy/files/mipsarchn64eb/_numpyconfig.h
index debb390094..debb390094 100644
--- a/meta/recipes-devtools/python-numpy/files/mips64/_numpyconfig.h
+++ b/meta/recipes-devtools/python-numpy/files/mipsarchn64eb/_numpyconfig.h
diff --git a/meta/recipes-devtools/python-numpy/files/mips64n32/config.h b/meta/recipes-devtools/python-numpy/files/mipsarchn64eb/config.h
index c30b868f2f..c30b868f2f 100644
--- a/meta/recipes-devtools/python-numpy/files/mips64n32/config.h
+++ b/meta/recipes-devtools/python-numpy/files/mipsarchn64eb/config.h
diff --git a/meta/recipes-devtools/python-numpy/files/mipsarchn64el/_numpyconfig.h b/meta/recipes-devtools/python-numpy/files/mipsarchn64el/_numpyconfig.h
new file mode 100644
index 0000000000..debb390094
--- /dev/null
+++ b/meta/recipes-devtools/python-numpy/files/mipsarchn64el/_numpyconfig.h
@@ -0,0 +1,32 @@
1#define NPY_HAVE_ENDIAN_H 1
2#define NPY_SIZEOF_SHORT SIZEOF_SHORT
3#define NPY_SIZEOF_INT SIZEOF_INT
4#define NPY_SIZEOF_LONG SIZEOF_LONG
5#define NPY_SIZEOF_FLOAT 4
6#define NPY_SIZEOF_COMPLEX_FLOAT 8
7#define NPY_SIZEOF_DOUBLE 8
8#define NPY_SIZEOF_COMPLEX_DOUBLE 16
9#define NPY_SIZEOF_LONGDOUBLE 16
10#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
11#define NPY_ENABLE_SEPARATE_COMPILATION 1
12#define NPY_SIZEOF_PY_INTPTR_T 8
13#define NPY_SIZEOF_PY_LONG_LONG 8
14#define NPY_SIZEOF_LONGLONG 8
15#define NPY_SIZEOF_OFF_T 8
16#define NPY_NO_SMP 0
17#define NPY_HAVE_DECL_ISNAN
18#define NPY_HAVE_DECL_ISINF
19#define NPY_HAVE_DECL_ISFINITE
20#define NPY_HAVE_DECL_SIGNBIT
21#define NPY_USE_C99_COMPLEX 1
22#define NPY_HAVE_COMPLEX_DOUBLE 1
23#define NPY_HAVE_COMPLEX_FLOAT 1
24#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
25#define NPY_USE_C99_FORMATS 1
26#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
27#define NPY_ABI_VERSION 0x01000009
28#define NPY_API_VERSION 0x0000000A
29
30#ifndef __STDC_FORMAT_MACROS
31#define __STDC_FORMAT_MACROS 1
32#endif
diff --git a/meta/recipes-devtools/python-numpy/files/mipsarchn64el/config.h b/meta/recipes-devtools/python-numpy/files/mipsarchn64el/config.h
new file mode 100644
index 0000000000..48727039ae
--- /dev/null
+++ b/meta/recipes-devtools/python-numpy/files/mipsarchn64el/config.h
@@ -0,0 +1,138 @@
1#define SIZEOF_PY_INTPTR_T 8
2#define SIZEOF_PY_LONG_LONG 8
3#define MATHLIB m
4#define HAVE_SIN 1
5#define HAVE_COS 1
6#define HAVE_TAN 1
7#define HAVE_SINH 1
8#define HAVE_COSH 1
9#define HAVE_TANH 1
10#define HAVE_FABS 1
11#define HAVE_FLOOR 1
12#define HAVE_CEIL 1
13#define HAVE_SQRT 1
14#define HAVE_LOG10 1
15#define HAVE_LOG 1
16#define HAVE_EXP 1
17#define HAVE_ASIN 1
18#define HAVE_ACOS 1
19#define HAVE_ATAN 1
20#define HAVE_FMOD 1
21#define HAVE_MODF 1
22#define HAVE_FREXP 1
23#define HAVE_LDEXP 1
24#define HAVE_RINT 1
25#define HAVE_TRUNC 1
26#define HAVE_EXP2 1
27#define HAVE_LOG2 1
28#define HAVE_ATAN2 1
29#define HAVE_POW 1
30#define HAVE_NEXTAFTER 1
31#define HAVE_SINF 1
32#define HAVE_COSF 1
33#define HAVE_TANF 1
34#define HAVE_SINHF 1
35#define HAVE_COSHF 1
36#define HAVE_TANHF 1
37#define HAVE_FABSF 1
38#define HAVE_FLOORF 1
39#define HAVE_CEILF 1
40#define HAVE_RINTF 1
41#define HAVE_TRUNCF 1
42#define HAVE_SQRTF 1
43#define HAVE_LOG10F 1
44#define HAVE_LOGF 1
45#define HAVE_LOG1PF 1
46#define HAVE_EXPF 1
47#define HAVE_EXPM1F 1
48#define HAVE_ASINF 1
49#define HAVE_ACOSF 1
50#define HAVE_ATANF 1
51#define HAVE_ASINHF 1
52#define HAVE_ACOSHF 1
53#define HAVE_ATANHF 1
54#define HAVE_HYPOTF 1
55#define HAVE_ATAN2F 1
56#define HAVE_POWF 1
57#define HAVE_FMODF 1
58#define HAVE_MODFF 1
59#define HAVE_FREXPF 1
60#define HAVE_LDEXPF 1
61#define HAVE_EXP2F 1
62#define HAVE_LOG2F 1
63#define HAVE_COPYSIGNF 1
64#define HAVE_NEXTAFTERF 1
65#define HAVE_SINL 1
66#define HAVE_COSL 1
67#define HAVE_TANL 1
68#define HAVE_SINHL 1
69#define HAVE_COSHL 1
70#define HAVE_TANHL 1
71#define HAVE_FABSL 1
72#define HAVE_FLOORL 1
73#define HAVE_CEILL 1
74#define HAVE_RINTL 1
75#define HAVE_TRUNCL 1
76#define HAVE_SQRTL 1
77#define HAVE_LOG10L 1
78#define HAVE_LOGL 1
79#define HAVE_LOG1PL 1
80#define HAVE_EXPL 1
81#define HAVE_EXPM1L 1
82#define HAVE_ASINL 1
83#define HAVE_ACOSL 1
84#define HAVE_ATANL 1
85#define HAVE_ASINHL 1
86#define HAVE_ACOSHL 1
87#define HAVE_ATANHL 1
88#define HAVE_HYPOTL 1
89#define HAVE_ATAN2L 1
90#define HAVE_POWL 1
91#define HAVE_FMODL 1
92#define HAVE_MODFL 1
93#define HAVE_FREXPL 1
94#define HAVE_LDEXPL 1
95#define HAVE_EXP2L 1
96#define HAVE_LOG2L 1
97#define HAVE_COPYSIGNL 1
98#define HAVE_NEXTAFTERL 1
99#define HAVE_DECL_SIGNBIT
100#define HAVE_COMPLEX_H 1
101#define HAVE_CREAL 1
102#define HAVE_CIMAG 1
103#define HAVE_CABS 1
104#define HAVE_CARG 1
105#define HAVE_CEXP 1
106#define HAVE_CSQRT 1
107#define HAVE_CLOG 1
108#define HAVE_CCOS 1
109#define HAVE_CSIN 1
110#define HAVE_CPOW 1
111#define HAVE_CREALF 1
112#define HAVE_CIMAGF 1
113#define HAVE_CABSF 1
114#define HAVE_CARGF 1
115#define HAVE_CEXPF 1
116#define HAVE_CSQRTF 1
117#define HAVE_CLOGF 1
118#define HAVE_CCOSF 1
119#define HAVE_CSINF 1
120#define HAVE_CPOWF 1
121#define HAVE_CREALL 1
122#define HAVE_CIMAGL 1
123#define HAVE_CABSL 1
124#define HAVE_CARGL 1
125#define HAVE_CEXPL 1
126#define HAVE_CSQRTL 1
127#define HAVE_CLOGL 1
128#define HAVE_CCOSL 1
129#define HAVE_CSINL 1
130#define HAVE_CPOWL 1
131#define HAVE_LDOUBLE_IEEE_QUAD_LE 1
132#ifndef __cplusplus
133/* #undef inline */
134#endif
135
136#ifndef _NPY_NPY_CONFIG_H_
137#error config.h should never be included directly, include npy_config.h instead
138#endif
diff --git a/meta/recipes-devtools/python-numpy/files/mips/_numpyconfig.h b/meta/recipes-devtools/python-numpy/files/mipsarcho32eb/_numpyconfig.h
index 4c465c216c..4c465c216c 100644
--- a/meta/recipes-devtools/python-numpy/files/mips/_numpyconfig.h
+++ b/meta/recipes-devtools/python-numpy/files/mipsarcho32eb/_numpyconfig.h
diff --git a/meta/recipes-devtools/python-numpy/files/mips/config.h b/meta/recipes-devtools/python-numpy/files/mipsarcho32eb/config.h
index 2f6135adce..2f6135adce 100644
--- a/meta/recipes-devtools/python-numpy/files/mips/config.h
+++ b/meta/recipes-devtools/python-numpy/files/mipsarcho32eb/config.h
diff --git a/meta/recipes-devtools/python-numpy/files/mipsel/config.h b/meta/recipes-devtools/python-numpy/files/mipsarcho32el/config.h
index 17ef186d56..17ef186d56 100644
--- a/meta/recipes-devtools/python-numpy/files/mipsel/config.h
+++ b/meta/recipes-devtools/python-numpy/files/mipsarcho32el/config.h
diff --git a/meta/recipes-devtools/python-numpy/files/mipsel/numpyconfig.h b/meta/recipes-devtools/python-numpy/files/mipsarcho32el/numpyconfig.h
index 0b7cd51af4..0b7cd51af4 100644
--- a/meta/recipes-devtools/python-numpy/files/mipsel/numpyconfig.h
+++ b/meta/recipes-devtools/python-numpy/files/mipsarcho32el/numpyconfig.h