diff options
author | Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> | 2016-11-23 13:47:30 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-30 15:48:07 +0000 |
commit | 3680c265a43138b6e177f8b3155ba1095bfcd5b4 (patch) | |
tree | b3d3701f5126d26366bbc84eefd3a383509319a7 /meta/recipes-devtools/python-numpy/files/mipsarcho32el | |
parent | 61ad3d8da0d5a03727a0166cbc18e78649fb8577 (diff) | |
download | poky-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/mipsarcho32el')
-rw-r--r-- | meta/recipes-devtools/python-numpy/files/mipsarcho32el/config.h | 21 | ||||
-rw-r--r-- | meta/recipes-devtools/python-numpy/files/mipsarcho32el/numpyconfig.h | 18 |
2 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python-numpy/files/mipsarcho32el/config.h b/meta/recipes-devtools/python-numpy/files/mipsarcho32el/config.h new file mode 100644 index 0000000000..17ef186d56 --- /dev/null +++ b/meta/recipes-devtools/python-numpy/files/mipsarcho32el/config.h | |||
@@ -0,0 +1,21 @@ | |||
1 | /* ./src.linux-i686-2.5/numpy/core/include/numpy/config.h */ | ||
2 | /* #define SIZEOF_SHORT 2 */ | ||
3 | /* #define SIZEOF_INT 4 */ | ||
4 | /* #define SIZEOF_LONG 4 */ | ||
5 | /* #define SIZEOF_FLOAT 4 */ | ||
6 | /* #define SIZEOF_DOUBLE 8 */ | ||
7 | #define SIZEOF_LONG_DOUBLE 12 | ||
8 | #define SIZEOF_PY_INTPTR_T 4 | ||
9 | /* #define SIZEOF_LONG_LONG 8 */ | ||
10 | #define SIZEOF_PY_LONG_LONG 8 | ||
11 | /* #define CHAR_BIT 8 */ | ||
12 | #define MATHLIB m | ||
13 | #define HAVE_FLOAT_FUNCS | ||
14 | #define HAVE_LOG1P | ||
15 | #define HAVE_EXPM1 | ||
16 | #define HAVE_INVERSE_HYPERBOLIC | ||
17 | #define HAVE_INVERSE_HYPERBOLIC_FLOAT | ||
18 | #define HAVE_ISNAN | ||
19 | #define HAVE_ISINF | ||
20 | #define HAVE_RINT | ||
21 | |||
diff --git a/meta/recipes-devtools/python-numpy/files/mipsarcho32el/numpyconfig.h b/meta/recipes-devtools/python-numpy/files/mipsarcho32el/numpyconfig.h new file mode 100644 index 0000000000..0b7cd51af4 --- /dev/null +++ b/meta/recipes-devtools/python-numpy/files/mipsarcho32el/numpyconfig.h | |||
@@ -0,0 +1,18 @@ | |||
1 | /* cat ./src.linux-i686-2.5/numpy/core/include/numpy/numpyconfig.h */ | ||
2 | /* | ||
3 | * * This file is generated by numpy/core/setup.pyc. DO NOT EDIT | ||
4 | * */ | ||
5 | #define NPY_SIZEOF_SHORT 2 | ||
6 | #define NPY_SIZEOF_INT 4 | ||
7 | #define NPY_SIZEOF_LONG 4 | ||
8 | #define NPY_SIZEOF_FLOAT 4 | ||
9 | #define NPY_SIZEOF_DOUBLE 8 | ||
10 | #define NPY_SIZEOF_LONGDOUBLE 12 | ||
11 | #define NPY_SIZEOF_PY_INTPTR_T 4 | ||
12 | #define NPY_NO_SMP 0 | ||
13 | |||
14 | #define NPY_SIZEOF_LONGLONG 8 | ||
15 | #define NPY_SIZEOF_PY_LONG_LONG 8 | ||
16 | #define NPY_SIZEOF_OFF_T 8 | ||
17 | /* #define CHAR_BIT 8 */ | ||
18 | |||