mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 14:02:22 +02:00
python-numpy: move recipe to own directory
This is done so that patches can be shared with python3-numpy (From OE-Core rev: 9bffe2f9fb4ce6c0b265f27e5b484fbe076c6349) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
083d0aa27f
commit
9d7867a054
@@ -0,0 +1,78 @@
|
||||
From cc2ce6d8b6a3e6e2c8874896c10897034a80cd4f Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Thu, 10 Dec 2015 13:20:30 +0200
|
||||
Subject: [PATCH] Don't search /usr and so on for libraries by default to avoid
|
||||
host contamination.
|
||||
|
||||
Upstream-Status: Inappropriate (As the code stands, this is a hack)
|
||||
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
---
|
||||
numpy/distutils/system_info.py | 50 +++++-------------------------------------
|
||||
1 file changed, 6 insertions(+), 44 deletions(-)
|
||||
|
||||
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
|
||||
index 9dd48e2..80e197a 100644
|
||||
--- a/numpy/distutils/system_info.py
|
||||
+++ b/numpy/distutils/system_info.py
|
||||
@@ -204,51 +204,13 @@ if sys.platform == 'win32':
|
||||
default_x11_lib_dirs = []
|
||||
default_x11_include_dirs = []
|
||||
else:
|
||||
- default_lib_dirs = libpaths(['/usr/local/lib', '/opt/lib', '/usr/lib',
|
||||
- '/opt/local/lib', '/sw/lib'], platform_bits)
|
||||
default_runtime_dirs = []
|
||||
- default_include_dirs = ['/usr/local/include',
|
||||
- '/opt/include', '/usr/include',
|
||||
- # path of umfpack under macports
|
||||
- '/opt/local/include/ufsparse',
|
||||
- '/opt/local/include', '/sw/include',
|
||||
- '/usr/include/suitesparse']
|
||||
- default_src_dirs = ['.', '/usr/local/src', '/opt/src', '/sw/src']
|
||||
-
|
||||
- default_x11_lib_dirs = libpaths(['/usr/X11R6/lib', '/usr/X11/lib',
|
||||
- '/usr/lib'], platform_bits)
|
||||
- default_x11_include_dirs = ['/usr/X11R6/include', '/usr/X11/include',
|
||||
- '/usr/include']
|
||||
-
|
||||
- if os.path.exists('/usr/lib/X11'):
|
||||
- globbed_x11_dir = glob('/usr/lib/*/libX11.so')
|
||||
- if globbed_x11_dir:
|
||||
- x11_so_dir = os.path.split(globbed_x11_dir[0])[0]
|
||||
- default_x11_lib_dirs.extend([x11_so_dir, '/usr/lib/X11'])
|
||||
- default_x11_include_dirs.extend(['/usr/lib/X11/include',
|
||||
- '/usr/include/X11'])
|
||||
-
|
||||
- import subprocess as sp
|
||||
- tmp = None
|
||||
- try:
|
||||
- # Explicitly open/close file to avoid ResourceWarning when
|
||||
- # tests are run in debug mode Python 3.
|
||||
- tmp = open(os.devnull, 'w')
|
||||
- p = sp.Popen(["gcc", "-print-multiarch"], stdout=sp.PIPE,
|
||||
- stderr=tmp)
|
||||
- except (OSError, DistutilsError):
|
||||
- # OSError if gcc is not installed, or SandboxViolation (DistutilsError
|
||||
- # subclass) if an old setuptools bug is triggered (see gh-3160).
|
||||
- pass
|
||||
- else:
|
||||
- triplet = str(p.communicate()[0].decode().strip())
|
||||
- if p.returncode == 0:
|
||||
- # gcc supports the "-print-multiarch" option
|
||||
- default_x11_lib_dirs += [os.path.join("/usr/lib/", triplet)]
|
||||
- default_lib_dirs += [os.path.join("/usr/lib/", triplet)]
|
||||
- finally:
|
||||
- if tmp is not None:
|
||||
- tmp.close()
|
||||
+ default_lib_dirs = libpaths(['/deadir/lib'], platform_bits)
|
||||
+ default_include_dirs = ['/deaddir/include']
|
||||
+ default_src_dirs = ['.', '/deaddir/src']
|
||||
+
|
||||
+ default_x11_lib_dirs = libpaths(['/deaddir/lib'], platform_bits)
|
||||
+ default_x11_include_dirs = ['/deaddir/include']
|
||||
|
||||
if os.path.join(sys.prefix, 'lib') not in default_lib_dirs:
|
||||
default_lib_dirs.insert(0, os.path.join(sys.prefix, 'lib'))
|
||||
--
|
||||
2.6.2
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
#define NPY_HAVE_ENDIAN_H 1
|
||||
#define NPY_SIZEOF_SHORT SIZEOF_SHORT
|
||||
#define NPY_SIZEOF_INT SIZEOF_INT
|
||||
#define NPY_SIZEOF_LONG SIZEOF_LONG
|
||||
#define NPY_SIZEOF_FLOAT 4
|
||||
#define NPY_SIZEOF_COMPLEX_FLOAT 8
|
||||
#define NPY_SIZEOF_DOUBLE 8
|
||||
#define NPY_SIZEOF_COMPLEX_DOUBLE 16
|
||||
#define NPY_SIZEOF_LONGDOUBLE 16
|
||||
#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
|
||||
#define NPY_SIZEOF_PY_INTPTR_T 8
|
||||
#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
|
||||
#define NPY_HAVE_DECL_ISFINITE
|
||||
#define NPY_HAVE_DECL_SIGNBIT
|
||||
#define NPY_USE_C99_COMPLEX 1
|
||||
#define NPY_HAVE_COMPLEX_DOUBLE 1
|
||||
#define NPY_HAVE_COMPLEX_FLOAT 1
|
||||
#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
|
||||
#define NPY_ENABLE_SEPARATE_COMPILATION 1
|
||||
#define NPY_USE_C99_FORMATS 1
|
||||
#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
|
||||
#define NPY_ABI_VERSION 0x01000009
|
||||
#define NPY_API_VERSION 0x0000000A
|
||||
|
||||
#ifndef __STDC_FORMAT_MACROS
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#endif
|
||||
139
meta/recipes-devtools/python-numpy/files/aarch64/config.h
Normal file
139
meta/recipes-devtools/python-numpy/files/aarch64/config.h
Normal file
@@ -0,0 +1,139 @@
|
||||
#define HAVE_ENDIAN_H 1
|
||||
#define SIZEOF_PY_INTPTR_T 8
|
||||
#define SIZEOF_PY_LONG_LONG 8
|
||||
#define MATHLIB m
|
||||
#define HAVE_SIN 1
|
||||
#define HAVE_COS 1
|
||||
#define HAVE_TAN 1
|
||||
#define HAVE_SINH 1
|
||||
#define HAVE_COSH 1
|
||||
#define HAVE_TANH 1
|
||||
#define HAVE_FABS 1
|
||||
#define HAVE_FLOOR 1
|
||||
#define HAVE_CEIL 1
|
||||
#define HAVE_SQRT 1
|
||||
#define HAVE_LOG10 1
|
||||
#define HAVE_LOG 1
|
||||
#define HAVE_EXP 1
|
||||
#define HAVE_ASIN 1
|
||||
#define HAVE_ACOS 1
|
||||
#define HAVE_ATAN 1
|
||||
#define HAVE_FMOD 1
|
||||
#define HAVE_MODF 1
|
||||
#define HAVE_FREXP 1
|
||||
#define HAVE_LDEXP 1
|
||||
#define HAVE_RINT 1
|
||||
#define HAVE_TRUNC 1
|
||||
#define HAVE_EXP2 1
|
||||
#define HAVE_LOG2 1
|
||||
#define HAVE_ATAN2 1
|
||||
#define HAVE_POW 1
|
||||
#define HAVE_NEXTAFTER 1
|
||||
#define HAVE_SINF 1
|
||||
#define HAVE_COSF 1
|
||||
#define HAVE_TANF 1
|
||||
#define HAVE_SINHF 1
|
||||
#define HAVE_COSHF 1
|
||||
#define HAVE_TANHF 1
|
||||
#define HAVE_FABSF 1
|
||||
#define HAVE_FLOORF 1
|
||||
#define HAVE_CEILF 1
|
||||
#define HAVE_RINTF 1
|
||||
#define HAVE_TRUNCF 1
|
||||
#define HAVE_SQRTF 1
|
||||
#define HAVE_LOG10F 1
|
||||
#define HAVE_LOGF 1
|
||||
#define HAVE_LOG1PF 1
|
||||
#define HAVE_EXPF 1
|
||||
#define HAVE_EXPM1F 1
|
||||
#define HAVE_ASINF 1
|
||||
#define HAVE_ACOSF 1
|
||||
#define HAVE_ATANF 1
|
||||
#define HAVE_ASINHF 1
|
||||
#define HAVE_ACOSHF 1
|
||||
#define HAVE_ATANHF 1
|
||||
#define HAVE_HYPOTF 1
|
||||
#define HAVE_ATAN2F 1
|
||||
#define HAVE_POWF 1
|
||||
#define HAVE_FMODF 1
|
||||
#define HAVE_MODFF 1
|
||||
#define HAVE_FREXPF 1
|
||||
#define HAVE_LDEXPF 1
|
||||
#define HAVE_EXP2F 1
|
||||
#define HAVE_LOG2F 1
|
||||
#define HAVE_COPYSIGNF 1
|
||||
#define HAVE_NEXTAFTERF 1
|
||||
#define HAVE_SINL 1
|
||||
#define HAVE_COSL 1
|
||||
#define HAVE_TANL 1
|
||||
#define HAVE_SINHL 1
|
||||
#define HAVE_COSHL 1
|
||||
#define HAVE_TANHL 1
|
||||
#define HAVE_FABSL 1
|
||||
#define HAVE_FLOORL 1
|
||||
#define HAVE_CEILL 1
|
||||
#define HAVE_RINTL 1
|
||||
#define HAVE_TRUNCL 1
|
||||
#define HAVE_SQRTL 1
|
||||
#define HAVE_LOG10L 1
|
||||
#define HAVE_LOGL 1
|
||||
#define HAVE_LOG1PL 1
|
||||
#define HAVE_EXPL 1
|
||||
#define HAVE_EXPM1L 1
|
||||
#define HAVE_ASINL 1
|
||||
#define HAVE_ACOSL 1
|
||||
#define HAVE_ATANL 1
|
||||
#define HAVE_ASINHL 1
|
||||
#define HAVE_ACOSHL 1
|
||||
#define HAVE_ATANHL 1
|
||||
#define HAVE_HYPOTL 1
|
||||
#define HAVE_ATAN2L 1
|
||||
#define HAVE_POWL 1
|
||||
#define HAVE_FMODL 1
|
||||
#define HAVE_MODFL 1
|
||||
#define HAVE_FREXPL 1
|
||||
#define HAVE_LDEXPL 1
|
||||
#define HAVE_EXP2L 1
|
||||
#define HAVE_LOG2L 1
|
||||
#define HAVE_COPYSIGNL 1
|
||||
#define HAVE_NEXTAFTERL 1
|
||||
#define HAVE_DECL_SIGNBIT
|
||||
#define HAVE_COMPLEX_H 1
|
||||
#define HAVE_CREAL 1
|
||||
#define HAVE_CIMAG 1
|
||||
#define HAVE_CABS 1
|
||||
#define HAVE_CARG 1
|
||||
#define HAVE_CEXP 1
|
||||
#define HAVE_CSQRT 1
|
||||
#define HAVE_CLOG 1
|
||||
#define HAVE_CCOS 1
|
||||
#define HAVE_CSIN 1
|
||||
#define HAVE_CPOW 1
|
||||
#define HAVE_CREALF 1
|
||||
#define HAVE_CIMAGF 1
|
||||
#define HAVE_CABSF 1
|
||||
#define HAVE_CARGF 1
|
||||
#define HAVE_CEXPF 1
|
||||
#define HAVE_CSQRTF 1
|
||||
#define HAVE_CLOGF 1
|
||||
#define HAVE_CCOSF 1
|
||||
#define HAVE_CSINF 1
|
||||
#define HAVE_CPOWF 1
|
||||
#define HAVE_CREALL 1
|
||||
#define HAVE_CIMAGL 1
|
||||
#define HAVE_CABSL 1
|
||||
#define HAVE_CARGL 1
|
||||
#define HAVE_CEXPL 1
|
||||
#define HAVE_CSQRTL 1
|
||||
#define HAVE_CLOGL 1
|
||||
#define HAVE_CCOSL 1
|
||||
#define HAVE_CSINL 1
|
||||
#define HAVE_CPOWL 1
|
||||
#define HAVE_LDOUBLE_IEEE_QUAD_LE 1
|
||||
#ifndef __cplusplus
|
||||
/* #undef inline */
|
||||
#endif
|
||||
|
||||
#ifndef _NPY_NPY_CONFIG_H_
|
||||
#error config.h should never be included directly, include npy_config.h instead
|
||||
#endif
|
||||
@@ -0,0 +1,36 @@
|
||||
Dont punish musl for glibc's trignometeric functions problems
|
||||
additionally ensure that glibc specific macros are not used
|
||||
unconditionally
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Upstream-Status: Pending
|
||||
Index: numpy-1.10.4/numpy/core/src/private/npy_config.h
|
||||
===================================================================
|
||||
--- numpy-1.10.4.orig/numpy/core/src/private/npy_config.h
|
||||
+++ numpy-1.10.4/numpy/core/src/private/npy_config.h
|
||||
@@ -75,10 +75,12 @@
|
||||
|
||||
#if defined(HAVE_FEATURES_H)
|
||||
#include <features.h>
|
||||
+#ifdef __GLIBC__
|
||||
#define TRIG_OK __GLIBC_PREREQ(2, 16)
|
||||
#else
|
||||
#define TRIG_OK 0
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#if !TRIG_OK
|
||||
#undef HAVE_CASIN
|
||||
Index: numpy-1.10.4/numpy/core/src/npymath/ieee754.c.src
|
||||
===================================================================
|
||||
--- numpy-1.10.4.orig/numpy/core/src/npymath/ieee754.c.src
|
||||
+++ numpy-1.10.4/numpy/core/src/npymath/ieee754.c.src
|
||||
@@ -612,7 +612,7 @@ void npy_set_floatstatus_invalid(void)
|
||||
}
|
||||
|
||||
|
||||
-#elif defined(__GLIBC__) || defined(__APPLE__) || \
|
||||
+#elif defined(__linux__) || defined(__APPLE__) || \
|
||||
defined(__CYGWIN__) || defined(__MINGW32__) || \
|
||||
(defined(__FreeBSD__) && (__FreeBSD_version >= 502114))
|
||||
# include <fenv.h>
|
||||
21
meta/recipes-devtools/python-numpy/files/arm/config.h
Normal file
21
meta/recipes-devtools/python-numpy/files/arm/config.h
Normal file
@@ -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
|
||||
|
||||
17
meta/recipes-devtools/python-numpy/files/arm/numpyconfig.h
Normal file
17
meta/recipes-devtools/python-numpy/files/arm/numpyconfig.h
Normal file
@@ -0,0 +1,17 @@
|
||||
/* cat ./src.linux-i686-2.5/numpy/core/include/numpy/numpyconfig.h */
|
||||
/*
|
||||
* * This file is generated by numpy/core/setup.pyc. DO NOT EDIT
|
||||
* */
|
||||
#define NPY_SIZEOF_SHORT 2
|
||||
#define NPY_SIZEOF_INT 4
|
||||
#define NPY_SIZEOF_LONG 4
|
||||
#define NPY_SIZEOF_FLOAT 4
|
||||
#define NPY_SIZEOF_DOUBLE 8
|
||||
#define NPY_SIZEOF_LONGDOUBLE 12
|
||||
#define NPY_SIZEOF_PY_INTPTR_T 4
|
||||
#define NPY_NO_SMP 0
|
||||
|
||||
#define NPY_SIZEOF_LONGLONG 8
|
||||
#define NPY_SIZEOF_PY_LONG_LONG 8
|
||||
/* #define CHAR_BIT 8 */
|
||||
|
||||
21
meta/recipes-devtools/python-numpy/files/armeb/config.h
Normal file
21
meta/recipes-devtools/python-numpy/files/armeb/config.h
Normal file
@@ -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
|
||||
|
||||
17
meta/recipes-devtools/python-numpy/files/armeb/numpyconfig.h
Normal file
17
meta/recipes-devtools/python-numpy/files/armeb/numpyconfig.h
Normal file
@@ -0,0 +1,17 @@
|
||||
/* cat ./src.linux-i686-2.5/numpy/core/include/numpy/numpyconfig.h */
|
||||
/*
|
||||
* * This file is generated by numpy/core/setup.pyc. DO NOT EDIT
|
||||
* */
|
||||
#define NPY_SIZEOF_SHORT 2
|
||||
#define NPY_SIZEOF_INT 4
|
||||
#define NPY_SIZEOF_LONG 4
|
||||
#define NPY_SIZEOF_FLOAT 4
|
||||
#define NPY_SIZEOF_DOUBLE 8
|
||||
#define NPY_SIZEOF_LONGDOUBLE 12
|
||||
#define NPY_SIZEOF_PY_INTPTR_T 4
|
||||
#define NPY_NO_SMP 0
|
||||
|
||||
#define NPY_SIZEOF_LONGLONG 8
|
||||
#define NPY_SIZEOF_PY_LONG_LONG 8
|
||||
/* #define CHAR_BIT 8 */
|
||||
|
||||
31
meta/recipes-devtools/python-numpy/files/mips/_numpyconfig.h
Normal file
31
meta/recipes-devtools/python-numpy/files/mips/_numpyconfig.h
Normal file
@@ -0,0 +1,31 @@
|
||||
#define NPY_HAVE_ENDIAN_H 1
|
||||
#define NPY_SIZEOF_SHORT SIZEOF_SHORT
|
||||
#define NPY_SIZEOF_INT SIZEOF_INT
|
||||
#define NPY_SIZEOF_LONG SIZEOF_LONG
|
||||
#define NPY_SIZEOF_FLOAT 4
|
||||
#define NPY_SIZEOF_COMPLEX_FLOAT 8
|
||||
#define NPY_SIZEOF_DOUBLE 8
|
||||
#define NPY_SIZEOF_COMPLEX_DOUBLE 16
|
||||
#define NPY_SIZEOF_LONGDOUBLE 8
|
||||
#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 16
|
||||
#define NPY_ENABLE_SEPARATE_COMPILATION 1
|
||||
#define NPY_SIZEOF_PY_INTPTR_T 4
|
||||
#define NPY_SIZEOF_PY_LONG_LONG 8
|
||||
#define NPY_SIZEOF_LONGLONG 8
|
||||
#define NPY_NO_SMP 0
|
||||
#define NPY_HAVE_DECL_ISNAN
|
||||
#define NPY_HAVE_DECL_ISINF
|
||||
#define NPY_HAVE_DECL_ISFINITE
|
||||
#define NPY_HAVE_DECL_SIGNBIT
|
||||
#define NPY_USE_C99_COMPLEX 1
|
||||
#define NPY_HAVE_COMPLEX_DOUBLE 1
|
||||
#define NPY_HAVE_COMPLEX_FLOAT 1
|
||||
#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
|
||||
#define NPY_USE_C99_FORMATS 1
|
||||
#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
|
||||
#define NPY_ABI_VERSION 0x01000009
|
||||
#define NPY_API_VERSION 0x0000000A
|
||||
|
||||
#ifndef __STDC_FORMAT_MACROS
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#endif
|
||||
139
meta/recipes-devtools/python-numpy/files/mips/config.h
Normal file
139
meta/recipes-devtools/python-numpy/files/mips/config.h
Normal file
@@ -0,0 +1,139 @@
|
||||
#define HAVE_ENDIAN_H 1
|
||||
#define SIZEOF_PY_INTPTR_T 4
|
||||
#define SIZEOF_PY_LONG_LONG 8
|
||||
#define MATHLIB m
|
||||
#define HAVE_SIN 1
|
||||
#define HAVE_COS 1
|
||||
#define HAVE_TAN 1
|
||||
#define HAVE_SINH 1
|
||||
#define HAVE_COSH 1
|
||||
#define HAVE_TANH 1
|
||||
#define HAVE_FABS 1
|
||||
#define HAVE_FLOOR 1
|
||||
#define HAVE_CEIL 1
|
||||
#define HAVE_SQRT 1
|
||||
#define HAVE_LOG10 1
|
||||
#define HAVE_LOG 1
|
||||
#define HAVE_EXP 1
|
||||
#define HAVE_ASIN 1
|
||||
#define HAVE_ACOS 1
|
||||
#define HAVE_ATAN 1
|
||||
#define HAVE_FMOD 1
|
||||
#define HAVE_MODF 1
|
||||
#define HAVE_FREXP 1
|
||||
#define HAVE_LDEXP 1
|
||||
#define HAVE_RINT 1
|
||||
#define HAVE_TRUNC 1
|
||||
#define HAVE_EXP2 1
|
||||
#define HAVE_LOG2 1
|
||||
#define HAVE_ATAN2 1
|
||||
#define HAVE_POW 1
|
||||
#define HAVE_NEXTAFTER 1
|
||||
#define HAVE_SINF 1
|
||||
#define HAVE_COSF 1
|
||||
#define HAVE_TANF 1
|
||||
#define HAVE_SINHF 1
|
||||
#define HAVE_COSHF 1
|
||||
#define HAVE_TANHF 1
|
||||
#define HAVE_FABSF 1
|
||||
#define HAVE_FLOORF 1
|
||||
#define HAVE_CEILF 1
|
||||
#define HAVE_RINTF 1
|
||||
#define HAVE_TRUNCF 1
|
||||
#define HAVE_SQRTF 1
|
||||
#define HAVE_LOG10F 1
|
||||
#define HAVE_LOGF 1
|
||||
#define HAVE_LOG1PF 1
|
||||
#define HAVE_EXPF 1
|
||||
#define HAVE_EXPM1F 1
|
||||
#define HAVE_ASINF 1
|
||||
#define HAVE_ACOSF 1
|
||||
#define HAVE_ATANF 1
|
||||
#define HAVE_ASINHF 1
|
||||
#define HAVE_ACOSHF 1
|
||||
#define HAVE_ATANHF 1
|
||||
#define HAVE_HYPOTF 1
|
||||
#define HAVE_ATAN2F 1
|
||||
#define HAVE_POWF 1
|
||||
#define HAVE_FMODF 1
|
||||
#define HAVE_MODFF 1
|
||||
#define HAVE_FREXPF 1
|
||||
#define HAVE_LDEXPF 1
|
||||
#define HAVE_EXP2F 1
|
||||
#define HAVE_LOG2F 1
|
||||
#define HAVE_COPYSIGNF 1
|
||||
#define HAVE_NEXTAFTERF 1
|
||||
#define HAVE_SINL 1
|
||||
#define HAVE_COSL 1
|
||||
#define HAVE_TANL 1
|
||||
#define HAVE_SINHL 1
|
||||
#define HAVE_COSHL 1
|
||||
#define HAVE_TANHL 1
|
||||
#define HAVE_FABSL 1
|
||||
#define HAVE_FLOORL 1
|
||||
#define HAVE_CEILL 1
|
||||
#define HAVE_RINTL 1
|
||||
#define HAVE_TRUNCL 1
|
||||
#define HAVE_SQRTL 1
|
||||
#define HAVE_LOG10L 1
|
||||
#define HAVE_LOGL 1
|
||||
#define HAVE_LOG1PL 1
|
||||
#define HAVE_EXPL 1
|
||||
#define HAVE_EXPM1L 1
|
||||
#define HAVE_ASINL 1
|
||||
#define HAVE_ACOSL 1
|
||||
#define HAVE_ATANL 1
|
||||
#define HAVE_ASINHL 1
|
||||
#define HAVE_ACOSHL 1
|
||||
#define HAVE_ATANHL 1
|
||||
#define HAVE_HYPOTL 1
|
||||
#define HAVE_ATAN2L 1
|
||||
#define HAVE_POWL 1
|
||||
#define HAVE_FMODL 1
|
||||
#define HAVE_MODFL 1
|
||||
#define HAVE_FREXPL 1
|
||||
#define HAVE_LDEXPL 1
|
||||
#define HAVE_EXP2L 1
|
||||
#define HAVE_LOG2L 1
|
||||
#define HAVE_COPYSIGNL 1
|
||||
#define HAVE_NEXTAFTERL 1
|
||||
#define HAVE_DECL_SIGNBIT
|
||||
#define HAVE_COMPLEX_H 1
|
||||
#define HAVE_CREAL 1
|
||||
#define HAVE_CIMAG 1
|
||||
#define HAVE_CABS 1
|
||||
#define HAVE_CARG 1
|
||||
#define HAVE_CEXP 1
|
||||
#define HAVE_CSQRT 1
|
||||
#define HAVE_CLOG 1
|
||||
#define HAVE_CCOS 1
|
||||
#define HAVE_CSIN 1
|
||||
#define HAVE_CPOW 1
|
||||
#define HAVE_CREALF 1
|
||||
#define HAVE_CIMAGF 1
|
||||
#define HAVE_CABSF 1
|
||||
#define HAVE_CARGF 1
|
||||
#define HAVE_CEXPF 1
|
||||
#define HAVE_CSQRTF 1
|
||||
#define HAVE_CLOGF 1
|
||||
#define HAVE_CCOSF 1
|
||||
#define HAVE_CSINF 1
|
||||
#define HAVE_CPOWF 1
|
||||
#define HAVE_CREALL 1
|
||||
#define HAVE_CIMAGL 1
|
||||
#define HAVE_CABSL 1
|
||||
#define HAVE_CARGL 1
|
||||
#define HAVE_CEXPL 1
|
||||
#define HAVE_CSQRTL 1
|
||||
#define HAVE_CLOGL 1
|
||||
#define HAVE_CCOSL 1
|
||||
#define HAVE_CSINL 1
|
||||
#define HAVE_CPOWL 1
|
||||
#define HAVE_LDOUBLE_IEEE_DOUBLE_BE 1
|
||||
#ifndef __cplusplus
|
||||
/* #undef inline */
|
||||
#endif
|
||||
|
||||
#ifndef _NPY_NPY_CONFIG_H_
|
||||
#error config.h should never be included directly, include npy_config.h instead
|
||||
#endif
|
||||
@@ -0,0 +1,32 @@
|
||||
#define NPY_HAVE_ENDIAN_H 1
|
||||
#define NPY_SIZEOF_SHORT SIZEOF_SHORT
|
||||
#define NPY_SIZEOF_INT SIZEOF_INT
|
||||
#define NPY_SIZEOF_LONG SIZEOF_LONG
|
||||
#define NPY_SIZEOF_FLOAT 4
|
||||
#define NPY_SIZEOF_COMPLEX_FLOAT 8
|
||||
#define NPY_SIZEOF_DOUBLE 8
|
||||
#define NPY_SIZEOF_COMPLEX_DOUBLE 16
|
||||
#define NPY_SIZEOF_LONGDOUBLE 16
|
||||
#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
|
||||
#define NPY_ENABLE_SEPARATE_COMPILATION 1
|
||||
#define NPY_SIZEOF_PY_INTPTR_T 8
|
||||
#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
|
||||
#define NPY_HAVE_DECL_ISFINITE
|
||||
#define NPY_HAVE_DECL_SIGNBIT
|
||||
#define NPY_USE_C99_COMPLEX 1
|
||||
#define NPY_HAVE_COMPLEX_DOUBLE 1
|
||||
#define NPY_HAVE_COMPLEX_FLOAT 1
|
||||
#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
|
||||
#define NPY_USE_C99_FORMATS 1
|
||||
#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
|
||||
#define NPY_ABI_VERSION 0x01000009
|
||||
#define NPY_API_VERSION 0x0000000A
|
||||
|
||||
#ifndef __STDC_FORMAT_MACROS
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#endif
|
||||
139
meta/recipes-devtools/python-numpy/files/mips64/config.h
Normal file
139
meta/recipes-devtools/python-numpy/files/mips64/config.h
Normal file
@@ -0,0 +1,139 @@
|
||||
#define HAVE_ENDIAN_H 1
|
||||
#define SIZEOF_PY_INTPTR_T 8
|
||||
#define SIZEOF_PY_LONG_LONG 8
|
||||
#define MATHLIB m
|
||||
#define HAVE_SIN 1
|
||||
#define HAVE_COS 1
|
||||
#define HAVE_TAN 1
|
||||
#define HAVE_SINH 1
|
||||
#define HAVE_COSH 1
|
||||
#define HAVE_TANH 1
|
||||
#define HAVE_FABS 1
|
||||
#define HAVE_FLOOR 1
|
||||
#define HAVE_CEIL 1
|
||||
#define HAVE_SQRT 1
|
||||
#define HAVE_LOG10 1
|
||||
#define HAVE_LOG 1
|
||||
#define HAVE_EXP 1
|
||||
#define HAVE_ASIN 1
|
||||
#define HAVE_ACOS 1
|
||||
#define HAVE_ATAN 1
|
||||
#define HAVE_FMOD 1
|
||||
#define HAVE_MODF 1
|
||||
#define HAVE_FREXP 1
|
||||
#define HAVE_LDEXP 1
|
||||
#define HAVE_RINT 1
|
||||
#define HAVE_TRUNC 1
|
||||
#define HAVE_EXP2 1
|
||||
#define HAVE_LOG2 1
|
||||
#define HAVE_ATAN2 1
|
||||
#define HAVE_POW 1
|
||||
#define HAVE_NEXTAFTER 1
|
||||
#define HAVE_SINF 1
|
||||
#define HAVE_COSF 1
|
||||
#define HAVE_TANF 1
|
||||
#define HAVE_SINHF 1
|
||||
#define HAVE_COSHF 1
|
||||
#define HAVE_TANHF 1
|
||||
#define HAVE_FABSF 1
|
||||
#define HAVE_FLOORF 1
|
||||
#define HAVE_CEILF 1
|
||||
#define HAVE_RINTF 1
|
||||
#define HAVE_TRUNCF 1
|
||||
#define HAVE_SQRTF 1
|
||||
#define HAVE_LOG10F 1
|
||||
#define HAVE_LOGF 1
|
||||
#define HAVE_LOG1PF 1
|
||||
#define HAVE_EXPF 1
|
||||
#define HAVE_EXPM1F 1
|
||||
#define HAVE_ASINF 1
|
||||
#define HAVE_ACOSF 1
|
||||
#define HAVE_ATANF 1
|
||||
#define HAVE_ASINHF 1
|
||||
#define HAVE_ACOSHF 1
|
||||
#define HAVE_ATANHF 1
|
||||
#define HAVE_HYPOTF 1
|
||||
#define HAVE_ATAN2F 1
|
||||
#define HAVE_POWF 1
|
||||
#define HAVE_FMODF 1
|
||||
#define HAVE_MODFF 1
|
||||
#define HAVE_FREXPF 1
|
||||
#define HAVE_LDEXPF 1
|
||||
#define HAVE_EXP2F 1
|
||||
#define HAVE_LOG2F 1
|
||||
#define HAVE_COPYSIGNF 1
|
||||
#define HAVE_NEXTAFTERF 1
|
||||
#define HAVE_SINL 1
|
||||
#define HAVE_COSL 1
|
||||
#define HAVE_TANL 1
|
||||
#define HAVE_SINHL 1
|
||||
#define HAVE_COSHL 1
|
||||
#define HAVE_TANHL 1
|
||||
#define HAVE_FABSL 1
|
||||
#define HAVE_FLOORL 1
|
||||
#define HAVE_CEILL 1
|
||||
#define HAVE_RINTL 1
|
||||
#define HAVE_TRUNCL 1
|
||||
#define HAVE_SQRTL 1
|
||||
#define HAVE_LOG10L 1
|
||||
#define HAVE_LOGL 1
|
||||
#define HAVE_LOG1PL 1
|
||||
#define HAVE_EXPL 1
|
||||
#define HAVE_EXPM1L 1
|
||||
#define HAVE_ASINL 1
|
||||
#define HAVE_ACOSL 1
|
||||
#define HAVE_ATANL 1
|
||||
#define HAVE_ASINHL 1
|
||||
#define HAVE_ACOSHL 1
|
||||
#define HAVE_ATANHL 1
|
||||
#define HAVE_HYPOTL 1
|
||||
#define HAVE_ATAN2L 1
|
||||
#define HAVE_POWL 1
|
||||
#define HAVE_FMODL 1
|
||||
#define HAVE_MODFL 1
|
||||
#define HAVE_FREXPL 1
|
||||
#define HAVE_LDEXPL 1
|
||||
#define HAVE_EXP2L 1
|
||||
#define HAVE_LOG2L 1
|
||||
#define HAVE_COPYSIGNL 1
|
||||
#define HAVE_NEXTAFTERL 1
|
||||
#define HAVE_DECL_SIGNBIT
|
||||
#define HAVE_COMPLEX_H 1
|
||||
#define HAVE_CREAL 1
|
||||
#define HAVE_CIMAG 1
|
||||
#define HAVE_CABS 1
|
||||
#define HAVE_CARG 1
|
||||
#define HAVE_CEXP 1
|
||||
#define HAVE_CSQRT 1
|
||||
#define HAVE_CLOG 1
|
||||
#define HAVE_CCOS 1
|
||||
#define HAVE_CSIN 1
|
||||
#define HAVE_CPOW 1
|
||||
#define HAVE_CREALF 1
|
||||
#define HAVE_CIMAGF 1
|
||||
#define HAVE_CABSF 1
|
||||
#define HAVE_CARGF 1
|
||||
#define HAVE_CEXPF 1
|
||||
#define HAVE_CSQRTF 1
|
||||
#define HAVE_CLOGF 1
|
||||
#define HAVE_CCOSF 1
|
||||
#define HAVE_CSINF 1
|
||||
#define HAVE_CPOWF 1
|
||||
#define HAVE_CREALL 1
|
||||
#define HAVE_CIMAGL 1
|
||||
#define HAVE_CABSL 1
|
||||
#define HAVE_CARGL 1
|
||||
#define HAVE_CEXPL 1
|
||||
#define HAVE_CSQRTL 1
|
||||
#define HAVE_CLOGL 1
|
||||
#define HAVE_CCOSL 1
|
||||
#define HAVE_CSINL 1
|
||||
#define HAVE_CPOWL 1
|
||||
#define HAVE_LDOUBLE_IEEE_QUAD_LE 1
|
||||
#ifndef __cplusplus
|
||||
/* #undef inline */
|
||||
#endif
|
||||
|
||||
#ifndef _NPY_NPY_CONFIG_H_
|
||||
#error config.h should never be included directly, include npy_config.h instead
|
||||
#endif
|
||||
@@ -0,0 +1,31 @@
|
||||
#define NPY_HAVE_ENDIAN_H 1
|
||||
#define NPY_SIZEOF_SHORT SIZEOF_SHORT
|
||||
#define NPY_SIZEOF_INT SIZEOF_INT
|
||||
#define NPY_SIZEOF_LONG SIZEOF_LONG
|
||||
#define NPY_SIZEOF_FLOAT 4
|
||||
#define NPY_SIZEOF_COMPLEX_FLOAT 8
|
||||
#define NPY_SIZEOF_DOUBLE 8
|
||||
#define NPY_SIZEOF_COMPLEX_DOUBLE 16
|
||||
#define NPY_SIZEOF_LONGDOUBLE 16
|
||||
#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
|
||||
#define NPY_ENABLE_SEPARATE_COMPILATION 1
|
||||
#define NPY_SIZEOF_PY_INTPTR_T 8
|
||||
#define NPY_SIZEOF_PY_LONG_LONG 8
|
||||
#define NPY_SIZEOF_LONGLONG 8
|
||||
#define NPY_NO_SMP 0
|
||||
#define NPY_HAVE_DECL_ISNAN
|
||||
#define NPY_HAVE_DECL_ISINF
|
||||
#define NPY_HAVE_DECL_ISFINITE
|
||||
#define NPY_HAVE_DECL_SIGNBIT
|
||||
#define NPY_USE_C99_COMPLEX 1
|
||||
#define NPY_HAVE_COMPLEX_DOUBLE 1
|
||||
#define NPY_HAVE_COMPLEX_FLOAT 1
|
||||
#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
|
||||
#define NPY_USE_C99_FORMATS 1
|
||||
#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
|
||||
#define NPY_ABI_VERSION 0x01000009
|
||||
#define NPY_API_VERSION 0x0000000A
|
||||
|
||||
#ifndef __STDC_FORMAT_MACROS
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#endif
|
||||
139
meta/recipes-devtools/python-numpy/files/mips64n32/config.h
Normal file
139
meta/recipes-devtools/python-numpy/files/mips64n32/config.h
Normal file
@@ -0,0 +1,139 @@
|
||||
#define HAVE_ENDIAN_H 1
|
||||
#define SIZEOF_PY_INTPTR_T 8
|
||||
#define SIZEOF_PY_LONG_LONG 8
|
||||
#define MATHLIB m
|
||||
#define HAVE_SIN 1
|
||||
#define HAVE_COS 1
|
||||
#define HAVE_TAN 1
|
||||
#define HAVE_SINH 1
|
||||
#define HAVE_COSH 1
|
||||
#define HAVE_TANH 1
|
||||
#define HAVE_FABS 1
|
||||
#define HAVE_FLOOR 1
|
||||
#define HAVE_CEIL 1
|
||||
#define HAVE_SQRT 1
|
||||
#define HAVE_LOG10 1
|
||||
#define HAVE_LOG 1
|
||||
#define HAVE_EXP 1
|
||||
#define HAVE_ASIN 1
|
||||
#define HAVE_ACOS 1
|
||||
#define HAVE_ATAN 1
|
||||
#define HAVE_FMOD 1
|
||||
#define HAVE_MODF 1
|
||||
#define HAVE_FREXP 1
|
||||
#define HAVE_LDEXP 1
|
||||
#define HAVE_RINT 1
|
||||
#define HAVE_TRUNC 1
|
||||
#define HAVE_EXP2 1
|
||||
#define HAVE_LOG2 1
|
||||
#define HAVE_ATAN2 1
|
||||
#define HAVE_POW 1
|
||||
#define HAVE_NEXTAFTER 1
|
||||
#define HAVE_SINF 1
|
||||
#define HAVE_COSF 1
|
||||
#define HAVE_TANF 1
|
||||
#define HAVE_SINHF 1
|
||||
#define HAVE_COSHF 1
|
||||
#define HAVE_TANHF 1
|
||||
#define HAVE_FABSF 1
|
||||
#define HAVE_FLOORF 1
|
||||
#define HAVE_CEILF 1
|
||||
#define HAVE_RINTF 1
|
||||
#define HAVE_TRUNCF 1
|
||||
#define HAVE_SQRTF 1
|
||||
#define HAVE_LOG10F 1
|
||||
#define HAVE_LOGF 1
|
||||
#define HAVE_LOG1PF 1
|
||||
#define HAVE_EXPF 1
|
||||
#define HAVE_EXPM1F 1
|
||||
#define HAVE_ASINF 1
|
||||
#define HAVE_ACOSF 1
|
||||
#define HAVE_ATANF 1
|
||||
#define HAVE_ASINHF 1
|
||||
#define HAVE_ACOSHF 1
|
||||
#define HAVE_ATANHF 1
|
||||
#define HAVE_HYPOTF 1
|
||||
#define HAVE_ATAN2F 1
|
||||
#define HAVE_POWF 1
|
||||
#define HAVE_FMODF 1
|
||||
#define HAVE_MODFF 1
|
||||
#define HAVE_FREXPF 1
|
||||
#define HAVE_LDEXPF 1
|
||||
#define HAVE_EXP2F 1
|
||||
#define HAVE_LOG2F 1
|
||||
#define HAVE_COPYSIGNF 1
|
||||
#define HAVE_NEXTAFTERF 1
|
||||
#define HAVE_SINL 1
|
||||
#define HAVE_COSL 1
|
||||
#define HAVE_TANL 1
|
||||
#define HAVE_SINHL 1
|
||||
#define HAVE_COSHL 1
|
||||
#define HAVE_TANHL 1
|
||||
#define HAVE_FABSL 1
|
||||
#define HAVE_FLOORL 1
|
||||
#define HAVE_CEILL 1
|
||||
#define HAVE_RINTL 1
|
||||
#define HAVE_TRUNCL 1
|
||||
#define HAVE_SQRTL 1
|
||||
#define HAVE_LOG10L 1
|
||||
#define HAVE_LOGL 1
|
||||
#define HAVE_LOG1PL 1
|
||||
#define HAVE_EXPL 1
|
||||
#define HAVE_EXPM1L 1
|
||||
#define HAVE_ASINL 1
|
||||
#define HAVE_ACOSL 1
|
||||
#define HAVE_ATANL 1
|
||||
#define HAVE_ASINHL 1
|
||||
#define HAVE_ACOSHL 1
|
||||
#define HAVE_ATANHL 1
|
||||
#define HAVE_HYPOTL 1
|
||||
#define HAVE_ATAN2L 1
|
||||
#define HAVE_POWL 1
|
||||
#define HAVE_FMODL 1
|
||||
#define HAVE_MODFL 1
|
||||
#define HAVE_FREXPL 1
|
||||
#define HAVE_LDEXPL 1
|
||||
#define HAVE_EXP2L 1
|
||||
#define HAVE_LOG2L 1
|
||||
#define HAVE_COPYSIGNL 1
|
||||
#define HAVE_NEXTAFTERL 1
|
||||
#define HAVE_DECL_SIGNBIT
|
||||
#define HAVE_COMPLEX_H 1
|
||||
#define HAVE_CREAL 1
|
||||
#define HAVE_CIMAG 1
|
||||
#define HAVE_CABS 1
|
||||
#define HAVE_CARG 1
|
||||
#define HAVE_CEXP 1
|
||||
#define HAVE_CSQRT 1
|
||||
#define HAVE_CLOG 1
|
||||
#define HAVE_CCOS 1
|
||||
#define HAVE_CSIN 1
|
||||
#define HAVE_CPOW 1
|
||||
#define HAVE_CREALF 1
|
||||
#define HAVE_CIMAGF 1
|
||||
#define HAVE_CABSF 1
|
||||
#define HAVE_CARGF 1
|
||||
#define HAVE_CEXPF 1
|
||||
#define HAVE_CSQRTF 1
|
||||
#define HAVE_CLOGF 1
|
||||
#define HAVE_CCOSF 1
|
||||
#define HAVE_CSINF 1
|
||||
#define HAVE_CPOWF 1
|
||||
#define HAVE_CREALL 1
|
||||
#define HAVE_CIMAGL 1
|
||||
#define HAVE_CABSL 1
|
||||
#define HAVE_CARGL 1
|
||||
#define HAVE_CEXPL 1
|
||||
#define HAVE_CSQRTL 1
|
||||
#define HAVE_CLOGL 1
|
||||
#define HAVE_CCOSL 1
|
||||
#define HAVE_CSINL 1
|
||||
#define HAVE_CPOWL 1
|
||||
#define HAVE_LDOUBLE_IEEE_QUAD_LE 1
|
||||
#ifndef __cplusplus
|
||||
/* #undef inline */
|
||||
#endif
|
||||
|
||||
#ifndef _NPY_NPY_CONFIG_H_
|
||||
#error config.h should never be included directly, include npy_config.h instead
|
||||
#endif
|
||||
21
meta/recipes-devtools/python-numpy/files/mipsel/config.h
Normal file
21
meta/recipes-devtools/python-numpy/files/mipsel/config.h
Normal file
@@ -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
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
/* cat ./src.linux-i686-2.5/numpy/core/include/numpy/numpyconfig.h */
|
||||
/*
|
||||
* * This file is generated by numpy/core/setup.pyc. DO NOT EDIT
|
||||
* */
|
||||
#define NPY_SIZEOF_SHORT 2
|
||||
#define NPY_SIZEOF_INT 4
|
||||
#define NPY_SIZEOF_LONG 4
|
||||
#define NPY_SIZEOF_FLOAT 4
|
||||
#define NPY_SIZEOF_DOUBLE 8
|
||||
#define NPY_SIZEOF_LONGDOUBLE 12
|
||||
#define NPY_SIZEOF_PY_INTPTR_T 4
|
||||
#define NPY_NO_SMP 0
|
||||
|
||||
#define NPY_SIZEOF_LONGLONG 8
|
||||
#define NPY_SIZEOF_PY_LONG_LONG 8
|
||||
/* #define CHAR_BIT 8 */
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
#define NPY_HAVE_ENDIAN_H 1
|
||||
#define NPY_SIZEOF_SHORT SIZEOF_SHORT
|
||||
#define NPY_SIZEOF_INT SIZEOF_INT
|
||||
#define NPY_SIZEOF_LONG SIZEOF_LONG
|
||||
#define NPY_SIZEOF_FLOAT 4
|
||||
#define NPY_SIZEOF_COMPLEX_FLOAT 8
|
||||
#define NPY_SIZEOF_DOUBLE 8
|
||||
#define NPY_SIZEOF_COMPLEX_DOUBLE 16
|
||||
#define NPY_SIZEOF_LONGDOUBLE 16
|
||||
#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
|
||||
#define NPY_ENABLE_SEPARATE_COMPILATION 1
|
||||
#define NPY_SIZEOF_PY_INTPTR_T 4
|
||||
#define NPY_SIZEOF_PY_LONG_LONG 8
|
||||
#define NPY_SIZEOF_LONGLONG 8
|
||||
#define NPY_NO_SMP 0
|
||||
#define NPY_HAVE_DECL_ISNAN
|
||||
#define NPY_HAVE_DECL_ISINF
|
||||
#define NPY_HAVE_DECL_ISFINITE
|
||||
#define NPY_HAVE_DECL_SIGNBIT
|
||||
#define NPY_USE_C99_COMPLEX 1
|
||||
#define NPY_HAVE_COMPLEX_DOUBLE 1
|
||||
#define NPY_HAVE_COMPLEX_FLOAT 1
|
||||
#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
|
||||
#define NPY_USE_C99_FORMATS 1
|
||||
#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
|
||||
#define NPY_ABI_VERSION 0x01000009
|
||||
#define NPY_API_VERSION 0x0000000A
|
||||
|
||||
#ifndef __STDC_FORMAT_MACROS
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#endif
|
||||
139
meta/recipes-devtools/python-numpy/files/powerpc/config.h
Normal file
139
meta/recipes-devtools/python-numpy/files/powerpc/config.h
Normal file
@@ -0,0 +1,139 @@
|
||||
#define HAVE_ENDIAN_H 1
|
||||
#define SIZEOF_PY_INTPTR_T 4
|
||||
#define SIZEOF_PY_LONG_LONG 8
|
||||
#define MATHLIB m
|
||||
#define HAVE_SIN 1
|
||||
#define HAVE_COS 1
|
||||
#define HAVE_TAN 1
|
||||
#define HAVE_SINH 1
|
||||
#define HAVE_COSH 1
|
||||
#define HAVE_TANH 1
|
||||
#define HAVE_FABS 1
|
||||
#define HAVE_FLOOR 1
|
||||
#define HAVE_CEIL 1
|
||||
#define HAVE_SQRT 1
|
||||
#define HAVE_LOG10 1
|
||||
#define HAVE_LOG 1
|
||||
#define HAVE_EXP 1
|
||||
#define HAVE_ASIN 1
|
||||
#define HAVE_ACOS 1
|
||||
#define HAVE_ATAN 1
|
||||
#define HAVE_FMOD 1
|
||||
#define HAVE_MODF 1
|
||||
#define HAVE_FREXP 1
|
||||
#define HAVE_LDEXP 1
|
||||
#define HAVE_RINT 1
|
||||
#define HAVE_TRUNC 1
|
||||
#define HAVE_EXP2 1
|
||||
#define HAVE_LOG2 1
|
||||
#define HAVE_ATAN2 1
|
||||
#define HAVE_POW 1
|
||||
#define HAVE_NEXTAFTER 1
|
||||
#define HAVE_SINF 1
|
||||
#define HAVE_COSF 1
|
||||
#define HAVE_TANF 1
|
||||
#define HAVE_SINHF 1
|
||||
#define HAVE_COSHF 1
|
||||
#define HAVE_TANHF 1
|
||||
#define HAVE_FABSF 1
|
||||
#define HAVE_FLOORF 1
|
||||
#define HAVE_CEILF 1
|
||||
#define HAVE_RINTF 1
|
||||
#define HAVE_TRUNCF 1
|
||||
#define HAVE_SQRTF 1
|
||||
#define HAVE_LOG10F 1
|
||||
#define HAVE_LOGF 1
|
||||
#define HAVE_LOG1PF 1
|
||||
#define HAVE_EXPF 1
|
||||
#define HAVE_EXPM1F 1
|
||||
#define HAVE_ASINF 1
|
||||
#define HAVE_ACOSF 1
|
||||
#define HAVE_ATANF 1
|
||||
#define HAVE_ASINHF 1
|
||||
#define HAVE_ACOSHF 1
|
||||
#define HAVE_ATANHF 1
|
||||
#define HAVE_HYPOTF 1
|
||||
#define HAVE_ATAN2F 1
|
||||
#define HAVE_POWF 1
|
||||
#define HAVE_FMODF 1
|
||||
#define HAVE_MODFF 1
|
||||
#define HAVE_FREXPF 1
|
||||
#define HAVE_LDEXPF 1
|
||||
#define HAVE_EXP2F 1
|
||||
#define HAVE_LOG2F 1
|
||||
#define HAVE_COPYSIGNF 1
|
||||
#define HAVE_NEXTAFTERF 1
|
||||
#define HAVE_SINL 1
|
||||
#define HAVE_COSL 1
|
||||
#define HAVE_TANL 1
|
||||
#define HAVE_SINHL 1
|
||||
#define HAVE_COSHL 1
|
||||
#define HAVE_TANHL 1
|
||||
#define HAVE_FABSL 1
|
||||
#define HAVE_FLOORL 1
|
||||
#define HAVE_CEILL 1
|
||||
#define HAVE_RINTL 1
|
||||
#define HAVE_TRUNCL 1
|
||||
#define HAVE_SQRTL 1
|
||||
#define HAVE_LOG10L 1
|
||||
#define HAVE_LOGL 1
|
||||
#define HAVE_LOG1PL 1
|
||||
#define HAVE_EXPL 1
|
||||
#define HAVE_EXPM1L 1
|
||||
#define HAVE_ASINL 1
|
||||
#define HAVE_ACOSL 1
|
||||
#define HAVE_ATANL 1
|
||||
#define HAVE_ASINHL 1
|
||||
#define HAVE_ACOSHL 1
|
||||
#define HAVE_ATANHL 1
|
||||
#define HAVE_HYPOTL 1
|
||||
#define HAVE_ATAN2L 1
|
||||
#define HAVE_POWL 1
|
||||
#define HAVE_FMODL 1
|
||||
#define HAVE_MODFL 1
|
||||
#define HAVE_FREXPL 1
|
||||
#define HAVE_LDEXPL 1
|
||||
#define HAVE_EXP2L 1
|
||||
#define HAVE_LOG2L 1
|
||||
#define HAVE_COPYSIGNL 1
|
||||
#define HAVE_NEXTAFTERL 1
|
||||
#define HAVE_DECL_SIGNBIT
|
||||
#define HAVE_COMPLEX_H 1
|
||||
#define HAVE_CREAL 1
|
||||
#define HAVE_CIMAG 1
|
||||
#define HAVE_CABS 1
|
||||
#define HAVE_CARG 1
|
||||
#define HAVE_CEXP 1
|
||||
#define HAVE_CSQRT 1
|
||||
#define HAVE_CLOG 1
|
||||
#define HAVE_CCOS 1
|
||||
#define HAVE_CSIN 1
|
||||
#define HAVE_CPOW 1
|
||||
#define HAVE_CREALF 1
|
||||
#define HAVE_CIMAGF 1
|
||||
#define HAVE_CABSF 1
|
||||
#define HAVE_CARGF 1
|
||||
#define HAVE_CEXPF 1
|
||||
#define HAVE_CSQRTF 1
|
||||
#define HAVE_CLOGF 1
|
||||
#define HAVE_CCOSF 1
|
||||
#define HAVE_CSINF 1
|
||||
#define HAVE_CPOWF 1
|
||||
#define HAVE_CREALL 1
|
||||
#define HAVE_CIMAGL 1
|
||||
#define HAVE_CABSL 1
|
||||
#define HAVE_CARGL 1
|
||||
#define HAVE_CEXPL 1
|
||||
#define HAVE_CSQRTL 1
|
||||
#define HAVE_CLOGL 1
|
||||
#define HAVE_CCOSL 1
|
||||
#define HAVE_CSINL 1
|
||||
#define HAVE_CPOWL 1
|
||||
#define HAVE_LDOUBLE_DOUBLE_DOUBLE_BE 1
|
||||
#ifndef __cplusplus
|
||||
/* #undef inline */
|
||||
#endif
|
||||
|
||||
#ifndef _NPY_NPY_CONFIG_H_
|
||||
#error config.h should never be included directly, include npy_config.h instead
|
||||
#endif
|
||||
@@ -0,0 +1,32 @@
|
||||
#define NPY_HAVE_ENDIAN_H 1
|
||||
#define NPY_SIZEOF_SHORT SIZEOF_SHORT
|
||||
#define NPY_SIZEOF_INT SIZEOF_INT
|
||||
#define NPY_SIZEOF_LONG SIZEOF_LONG
|
||||
#define NPY_SIZEOF_FLOAT 4
|
||||
#define NPY_SIZEOF_COMPLEX_FLOAT 8
|
||||
#define NPY_SIZEOF_DOUBLE 8
|
||||
#define NPY_SIZEOF_COMPLEX_DOUBLE 16
|
||||
#define NPY_SIZEOF_LONGDOUBLE 16
|
||||
#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
|
||||
#define NPY_ENABLE_SEPARATE_COMPILATION 1
|
||||
#define NPY_SIZEOF_PY_INTPTR_T 8
|
||||
#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
|
||||
#define NPY_HAVE_DECL_ISFINITE
|
||||
#define NPY_HAVE_DECL_SIGNBIT
|
||||
#define NPY_USE_C99_COMPLEX 1
|
||||
#define NPY_HAVE_COMPLEX_DOUBLE 1
|
||||
#define NPY_HAVE_COMPLEX_FLOAT 1
|
||||
#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
|
||||
#define NPY_USE_C99_FORMATS 1
|
||||
#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
|
||||
#define NPY_ABI_VERSION 0x01000009
|
||||
#define NPY_API_VERSION 0x0000000A
|
||||
|
||||
#ifndef __STDC_FORMAT_MACROS
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#endif
|
||||
139
meta/recipes-devtools/python-numpy/files/powerpc64/config.h
Normal file
139
meta/recipes-devtools/python-numpy/files/powerpc64/config.h
Normal file
@@ -0,0 +1,139 @@
|
||||
#define HAVE_ENDIAN_H 1
|
||||
#define SIZEOF_PY_INTPTR_T 8
|
||||
#define SIZEOF_PY_LONG_LONG 8
|
||||
#define MATHLIB m
|
||||
#define HAVE_SIN 1
|
||||
#define HAVE_COS 1
|
||||
#define HAVE_TAN 1
|
||||
#define HAVE_SINH 1
|
||||
#define HAVE_COSH 1
|
||||
#define HAVE_TANH 1
|
||||
#define HAVE_FABS 1
|
||||
#define HAVE_FLOOR 1
|
||||
#define HAVE_CEIL 1
|
||||
#define HAVE_SQRT 1
|
||||
#define HAVE_LOG10 1
|
||||
#define HAVE_LOG 1
|
||||
#define HAVE_EXP 1
|
||||
#define HAVE_ASIN 1
|
||||
#define HAVE_ACOS 1
|
||||
#define HAVE_ATAN 1
|
||||
#define HAVE_FMOD 1
|
||||
#define HAVE_MODF 1
|
||||
#define HAVE_FREXP 1
|
||||
#define HAVE_LDEXP 1
|
||||
#define HAVE_RINT 1
|
||||
#define HAVE_TRUNC 1
|
||||
#define HAVE_EXP2 1
|
||||
#define HAVE_LOG2 1
|
||||
#define HAVE_ATAN2 1
|
||||
#define HAVE_POW 1
|
||||
#define HAVE_NEXTAFTER 1
|
||||
#define HAVE_SINF 1
|
||||
#define HAVE_COSF 1
|
||||
#define HAVE_TANF 1
|
||||
#define HAVE_SINHF 1
|
||||
#define HAVE_COSHF 1
|
||||
#define HAVE_TANHF 1
|
||||
#define HAVE_FABSF 1
|
||||
#define HAVE_FLOORF 1
|
||||
#define HAVE_CEILF 1
|
||||
#define HAVE_RINTF 1
|
||||
#define HAVE_TRUNCF 1
|
||||
#define HAVE_SQRTF 1
|
||||
#define HAVE_LOG10F 1
|
||||
#define HAVE_LOGF 1
|
||||
#define HAVE_LOG1PF 1
|
||||
#define HAVE_EXPF 1
|
||||
#define HAVE_EXPM1F 1
|
||||
#define HAVE_ASINF 1
|
||||
#define HAVE_ACOSF 1
|
||||
#define HAVE_ATANF 1
|
||||
#define HAVE_ASINHF 1
|
||||
#define HAVE_ACOSHF 1
|
||||
#define HAVE_ATANHF 1
|
||||
#define HAVE_HYPOTF 1
|
||||
#define HAVE_ATAN2F 1
|
||||
#define HAVE_POWF 1
|
||||
#define HAVE_FMODF 1
|
||||
#define HAVE_MODFF 1
|
||||
#define HAVE_FREXPF 1
|
||||
#define HAVE_LDEXPF 1
|
||||
#define HAVE_EXP2F 1
|
||||
#define HAVE_LOG2F 1
|
||||
#define HAVE_COPYSIGNF 1
|
||||
#define HAVE_NEXTAFTERF 1
|
||||
#define HAVE_SINL 1
|
||||
#define HAVE_COSL 1
|
||||
#define HAVE_TANL 1
|
||||
#define HAVE_SINHL 1
|
||||
#define HAVE_COSHL 1
|
||||
#define HAVE_TANHL 1
|
||||
#define HAVE_FABSL 1
|
||||
#define HAVE_FLOORL 1
|
||||
#define HAVE_CEILL 1
|
||||
#define HAVE_RINTL 1
|
||||
#define HAVE_TRUNCL 1
|
||||
#define HAVE_SQRTL 1
|
||||
#define HAVE_LOG10L 1
|
||||
#define HAVE_LOGL 1
|
||||
#define HAVE_LOG1PL 1
|
||||
#define HAVE_EXPL 1
|
||||
#define HAVE_EXPM1L 1
|
||||
#define HAVE_ASINL 1
|
||||
#define HAVE_ACOSL 1
|
||||
#define HAVE_ATANL 1
|
||||
#define HAVE_ASINHL 1
|
||||
#define HAVE_ACOSHL 1
|
||||
#define HAVE_ATANHL 1
|
||||
#define HAVE_HYPOTL 1
|
||||
#define HAVE_ATAN2L 1
|
||||
#define HAVE_POWL 1
|
||||
#define HAVE_FMODL 1
|
||||
#define HAVE_MODFL 1
|
||||
#define HAVE_FREXPL 1
|
||||
#define HAVE_LDEXPL 1
|
||||
#define HAVE_EXP2L 1
|
||||
#define HAVE_LOG2L 1
|
||||
#define HAVE_COPYSIGNL 1
|
||||
#define HAVE_NEXTAFTERL 1
|
||||
#define HAVE_DECL_SIGNBIT
|
||||
#define HAVE_COMPLEX_H 1
|
||||
#define HAVE_CREAL 1
|
||||
#define HAVE_CIMAG 1
|
||||
#define HAVE_CABS 1
|
||||
#define HAVE_CARG 1
|
||||
#define HAVE_CEXP 1
|
||||
#define HAVE_CSQRT 1
|
||||
#define HAVE_CLOG 1
|
||||
#define HAVE_CCOS 1
|
||||
#define HAVE_CSIN 1
|
||||
#define HAVE_CPOW 1
|
||||
#define HAVE_CREALF 1
|
||||
#define HAVE_CIMAGF 1
|
||||
#define HAVE_CABSF 1
|
||||
#define HAVE_CARGF 1
|
||||
#define HAVE_CEXPF 1
|
||||
#define HAVE_CSQRTF 1
|
||||
#define HAVE_CLOGF 1
|
||||
#define HAVE_CCOSF 1
|
||||
#define HAVE_CSINF 1
|
||||
#define HAVE_CPOWF 1
|
||||
#define HAVE_CREALL 1
|
||||
#define HAVE_CIMAGL 1
|
||||
#define HAVE_CABSL 1
|
||||
#define HAVE_CARGL 1
|
||||
#define HAVE_CEXPL 1
|
||||
#define HAVE_CSQRTL 1
|
||||
#define HAVE_CLOGL 1
|
||||
#define HAVE_CCOSL 1
|
||||
#define HAVE_CSINL 1
|
||||
#define HAVE_CPOWL 1
|
||||
#define HAVE_LDOUBLE_IEEE_QUAD_LE 1
|
||||
#ifndef __cplusplus
|
||||
/* #undef inline */
|
||||
#endif
|
||||
|
||||
#ifndef _NPY_NPY_CONFIG_H_
|
||||
#error config.h should never be included directly, include npy_config.h instead
|
||||
#endif
|
||||
@@ -0,0 +1,30 @@
|
||||
From c560abff71f98a39a7401f08c2c13dad9ae7f15f Mon Sep 17 00:00:00 2001
|
||||
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
Date: Thu, 25 Feb 2016 01:23:32 -0500
|
||||
Subject: [PATCH] remove build path in comments
|
||||
|
||||
It has build path in comments, so remove it.
|
||||
|
||||
Upstream-Status: Inappropriate [openembedded specific]
|
||||
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
---
|
||||
numpy/distutils/misc_util.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py
|
||||
index 345e60f..dafb068 100644
|
||||
--- a/numpy/distutils/misc_util.py
|
||||
+++ b/numpy/distutils/misc_util.py
|
||||
@@ -2254,7 +2254,7 @@ def generate_config_py(target):
|
||||
from distutils.dir_util import mkpath
|
||||
mkpath(os.path.dirname(target))
|
||||
f = open(target, 'w')
|
||||
- f.write('# This file is generated by %s\n' % (os.path.abspath(sys.argv[0])))
|
||||
+ f.write('# This file is generated by %s\n' % (os.path.abspath(sys.argv[0]).replace(os.path.abspath('../'),'')))
|
||||
f.write('# It contains system_info results at the time of building this package.\n')
|
||||
f.write('__all__ = ["get_info","show"]\n\n')
|
||||
for k, i in system_info.saved_results.items():
|
||||
--
|
||||
1.9.1
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
#define NPY_HAVE_ENDIAN_H 1
|
||||
#define NPY_SIZEOF_SHORT SIZEOF_SHORT
|
||||
#define NPY_SIZEOF_INT SIZEOF_INT
|
||||
#define NPY_SIZEOF_LONG SIZEOF_LONG
|
||||
#define NPY_SIZEOF_FLOAT 4
|
||||
#define NPY_SIZEOF_COMPLEX_FLOAT 8
|
||||
#define NPY_SIZEOF_DOUBLE 8
|
||||
#define NPY_SIZEOF_OFF_T 8
|
||||
#define NPY_SIZEOF_COMPLEX_DOUBLE 16
|
||||
#define NPY_SIZEOF_LONGDOUBLE 16
|
||||
#define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
|
||||
#define NPY_ENABLE_SEPARATE_COMPILATION 1
|
||||
#define NPY_SIZEOF_PY_INTPTR_T 8
|
||||
#define NPY_SIZEOF_PY_LONG_LONG 8
|
||||
#define NPY_SIZEOF_LONGLONG 8
|
||||
#define NPY_NO_SMP 0
|
||||
#define NPY_HAVE_DECL_ISNAN
|
||||
#define NPY_HAVE_DECL_ISINF
|
||||
#define NPY_HAVE_DECL_ISFINITE
|
||||
#define NPY_HAVE_DECL_SIGNBIT
|
||||
#define NPY_USE_C99_COMPLEX 1
|
||||
#define NPY_HAVE_COMPLEX_DOUBLE 1
|
||||
#define NPY_HAVE_COMPLEX_FLOAT 1
|
||||
#define NPY_HAVE_COMPLEX_LONG_DOUBLE 1
|
||||
#define NPY_USE_C99_FORMATS 1
|
||||
#define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden")))
|
||||
#define NPY_ABI_VERSION 0x01000009
|
||||
#define NPY_API_VERSION 0x0000000A
|
||||
|
||||
#ifndef __STDC_FORMAT_MACROS
|
||||
#define __STDC_FORMAT_MACROS 1
|
||||
#endif
|
||||
139
meta/recipes-devtools/python-numpy/files/x86-64/config.h
Normal file
139
meta/recipes-devtools/python-numpy/files/x86-64/config.h
Normal file
@@ -0,0 +1,139 @@
|
||||
#define HAVE_ENDIAN_H 1
|
||||
#define SIZEOF_PY_INTPTR_T 8
|
||||
#define SIZEOF_PY_LONG_LONG 8
|
||||
#define MATHLIB m
|
||||
#define HAVE_SIN 1
|
||||
#define HAVE_COS 1
|
||||
#define HAVE_TAN 1
|
||||
#define HAVE_SINH 1
|
||||
#define HAVE_COSH 1
|
||||
#define HAVE_TANH 1
|
||||
#define HAVE_FABS 1
|
||||
#define HAVE_FLOOR 1
|
||||
#define HAVE_CEIL 1
|
||||
#define HAVE_SQRT 1
|
||||
#define HAVE_LOG10 1
|
||||
#define HAVE_LOG 1
|
||||
#define HAVE_EXP 1
|
||||
#define HAVE_ASIN 1
|
||||
#define HAVE_ACOS 1
|
||||
#define HAVE_ATAN 1
|
||||
#define HAVE_FMOD 1
|
||||
#define HAVE_MODF 1
|
||||
#define HAVE_FREXP 1
|
||||
#define HAVE_LDEXP 1
|
||||
#define HAVE_RINT 1
|
||||
#define HAVE_TRUNC 1
|
||||
#define HAVE_EXP2 1
|
||||
#define HAVE_LOG2 1
|
||||
#define HAVE_ATAN2 1
|
||||
#define HAVE_POW 1
|
||||
#define HAVE_NEXTAFTER 1
|
||||
#define HAVE_SINF 1
|
||||
#define HAVE_COSF 1
|
||||
#define HAVE_TANF 1
|
||||
#define HAVE_SINHF 1
|
||||
#define HAVE_COSHF 1
|
||||
#define HAVE_TANHF 1
|
||||
#define HAVE_FABSF 1
|
||||
#define HAVE_FLOORF 1
|
||||
#define HAVE_CEILF 1
|
||||
#define HAVE_RINTF 1
|
||||
#define HAVE_TRUNCF 1
|
||||
#define HAVE_SQRTF 1
|
||||
#define HAVE_LOG10F 1
|
||||
#define HAVE_LOGF 1
|
||||
#define HAVE_LOG1PF 1
|
||||
#define HAVE_EXPF 1
|
||||
#define HAVE_EXPM1F 1
|
||||
#define HAVE_ASINF 1
|
||||
#define HAVE_ACOSF 1
|
||||
#define HAVE_ATANF 1
|
||||
#define HAVE_ASINHF 1
|
||||
#define HAVE_ACOSHF 1
|
||||
#define HAVE_ATANHF 1
|
||||
#define HAVE_HYPOTF 1
|
||||
#define HAVE_ATAN2F 1
|
||||
#define HAVE_POWF 1
|
||||
#define HAVE_FMODF 1
|
||||
#define HAVE_MODFF 1
|
||||
#define HAVE_FREXPF 1
|
||||
#define HAVE_LDEXPF 1
|
||||
#define HAVE_EXP2F 1
|
||||
#define HAVE_LOG2F 1
|
||||
#define HAVE_COPYSIGNF 1
|
||||
#define HAVE_NEXTAFTERF 1
|
||||
#define HAVE_SINL 1
|
||||
#define HAVE_COSL 1
|
||||
#define HAVE_TANL 1
|
||||
#define HAVE_SINHL 1
|
||||
#define HAVE_COSHL 1
|
||||
#define HAVE_TANHL 1
|
||||
#define HAVE_FABSL 1
|
||||
#define HAVE_FLOORL 1
|
||||
#define HAVE_CEILL 1
|
||||
#define HAVE_RINTL 1
|
||||
#define HAVE_TRUNCL 1
|
||||
#define HAVE_SQRTL 1
|
||||
#define HAVE_LOG10L 1
|
||||
#define HAVE_LOGL 1
|
||||
#define HAVE_LOG1PL 1
|
||||
#define HAVE_EXPL 1
|
||||
#define HAVE_EXPM1L 1
|
||||
#define HAVE_ASINL 1
|
||||
#define HAVE_ACOSL 1
|
||||
#define HAVE_ATANL 1
|
||||
#define HAVE_ASINHL 1
|
||||
#define HAVE_ACOSHL 1
|
||||
#define HAVE_ATANHL 1
|
||||
#define HAVE_HYPOTL 1
|
||||
#define HAVE_ATAN2L 1
|
||||
#define HAVE_POWL 1
|
||||
#define HAVE_FMODL 1
|
||||
#define HAVE_MODFL 1
|
||||
#define HAVE_FREXPL 1
|
||||
#define HAVE_LDEXPL 1
|
||||
#define HAVE_EXP2L 1
|
||||
#define HAVE_LOG2L 1
|
||||
#define HAVE_COPYSIGNL 1
|
||||
#define HAVE_NEXTAFTERL 1
|
||||
#define HAVE_DECL_SIGNBIT
|
||||
#define HAVE_COMPLEX_H 1
|
||||
#define HAVE_CREAL 1
|
||||
#define HAVE_CIMAG 1
|
||||
#define HAVE_CABS 1
|
||||
#define HAVE_CARG 1
|
||||
#define HAVE_CEXP 1
|
||||
#define HAVE_CSQRT 1
|
||||
#define HAVE_CLOG 1
|
||||
#define HAVE_CCOS 1
|
||||
#define HAVE_CSIN 1
|
||||
#define HAVE_CPOW 1
|
||||
#define HAVE_CREALF 1
|
||||
#define HAVE_CIMAGF 1
|
||||
#define HAVE_CABSF 1
|
||||
#define HAVE_CARGF 1
|
||||
#define HAVE_CEXPF 1
|
||||
#define HAVE_CSQRTF 1
|
||||
#define HAVE_CLOGF 1
|
||||
#define HAVE_CCOSF 1
|
||||
#define HAVE_CSINF 1
|
||||
#define HAVE_CPOWF 1
|
||||
#define HAVE_CREALL 1
|
||||
#define HAVE_CIMAGL 1
|
||||
#define HAVE_CABSL 1
|
||||
#define HAVE_CARGL 1
|
||||
#define HAVE_CEXPL 1
|
||||
#define HAVE_CSQRTL 1
|
||||
#define HAVE_CLOGL 1
|
||||
#define HAVE_CCOSL 1
|
||||
#define HAVE_CSINL 1
|
||||
#define HAVE_CPOWL 1
|
||||
#define HAVE_LDOUBLE_INTEL_EXTENDED_16_BYTES_LE 1
|
||||
#ifndef __cplusplus
|
||||
/* #undef inline */
|
||||
#endif
|
||||
|
||||
#ifndef _NPY_NPY_CONFIG_H_
|
||||
#error config.h should never be included directly, include npy_config.h instead
|
||||
#endif
|
||||
108
meta/recipes-devtools/python-numpy/files/x86/config.h
Normal file
108
meta/recipes-devtools/python-numpy/files/x86/config.h
Normal file
@@ -0,0 +1,108 @@
|
||||
#define SIZEOF_PY_INTPTR_T 4
|
||||
#define SIZEOF_PY_LONG_LONG 8
|
||||
#define MATHLIB m
|
||||
#define HAVE_SIN
|
||||
#define HAVE_COS
|
||||
#define HAVE_TAN
|
||||
#define HAVE_SINH
|
||||
#define HAVE_COSH
|
||||
#define HAVE_TANH
|
||||
#define HAVE_FABS
|
||||
#define HAVE_FLOOR
|
||||
#define HAVE_CEIL
|
||||
#define HAVE_SQRT
|
||||
#define HAVE_LOG10
|
||||
#define HAVE_LOG
|
||||
#define HAVE_EXP
|
||||
#define HAVE_ASIN
|
||||
#define HAVE_ACOS
|
||||
#define HAVE_ATAN
|
||||
#define HAVE_FMOD
|
||||
#define HAVE_MODF
|
||||
#define HAVE_FREXP
|
||||
#define HAVE_LDEXP
|
||||
#define HAVE_RINT
|
||||
#define HAVE_TRUNC
|
||||
#define HAVE_EXP2
|
||||
#define HAVE_LOG2
|
||||
#define HAVE_ATAN2
|
||||
#define HAVE_POW
|
||||
#define HAVE_NEXTAFTER
|
||||
#define HAVE_SINF
|
||||
#define HAVE_COSF
|
||||
#define HAVE_TANF
|
||||
#define HAVE_SINHF
|
||||
#define HAVE_COSHF
|
||||
#define HAVE_TANHF
|
||||
#define HAVE_FABSF
|
||||
#define HAVE_FLOORF
|
||||
#define HAVE_CEILF
|
||||
#define HAVE_RINTF
|
||||
#define HAVE_TRUNCF
|
||||
#define HAVE_SQRTF
|
||||
#define HAVE_LOG10F
|
||||
#define HAVE_LOGF
|
||||
#define HAVE_LOG1PF
|
||||
#define HAVE_EXPF
|
||||
#define HAVE_EXPM1F
|
||||
#define HAVE_ASINF
|
||||
#define HAVE_ACOSF
|
||||
#define HAVE_ATANF
|
||||
#define HAVE_ASINHF
|
||||
#define HAVE_ACOSHF
|
||||
#define HAVE_ATANHF
|
||||
#define HAVE_HYPOTF
|
||||
#define HAVE_ATAN2F
|
||||
#define HAVE_POWF
|
||||
#define HAVE_FMODF
|
||||
#define HAVE_MODFF
|
||||
#define HAVE_FREXPF
|
||||
#define HAVE_LDEXPF
|
||||
#define HAVE_EXP2F
|
||||
#define HAVE_LOG2F
|
||||
#define HAVE_COPYSIGNF
|
||||
#define HAVE_NEXTAFTERF
|
||||
#define HAVE_SINL
|
||||
#define HAVE_COSL
|
||||
#define HAVE_TANL
|
||||
#define HAVE_SINHL
|
||||
#define HAVE_COSHL
|
||||
#define HAVE_TANHL
|
||||
#define HAVE_FABSL
|
||||
#define HAVE_FLOORL
|
||||
#define HAVE_CEILL
|
||||
#define HAVE_RINTL
|
||||
#define HAVE_TRUNCL
|
||||
#define HAVE_SQRTL
|
||||
#define HAVE_LOG10L
|
||||
#define HAVE_LOGL
|
||||
#define HAVE_LOG1PL
|
||||
#define HAVE_EXPL
|
||||
#define HAVE_EXPM1L
|
||||
#define HAVE_ASINL
|
||||
#define HAVE_ACOSL
|
||||
#define HAVE_ATANL
|
||||
#define HAVE_ASINHL
|
||||
#define HAVE_ACOSHL
|
||||
#define HAVE_ATANHL
|
||||
#define HAVE_HYPOTL
|
||||
#define HAVE_ATAN2L
|
||||
#define HAVE_POWL
|
||||
#define HAVE_FMODL
|
||||
#define HAVE_MODFL
|
||||
#define HAVE_FREXPL
|
||||
#define HAVE_LDEXPL
|
||||
#define HAVE_EXP2L
|
||||
#define HAVE_LOG2L
|
||||
#define HAVE_COPYSIGNL
|
||||
#define HAVE_NEXTAFTERL
|
||||
#define HAVE_DECL_SIGNBIT
|
||||
#define HAVE_COMPLEX_H
|
||||
#define HAVE_LDOUBLE_INTEL_EXTENDED_12_BYTES_LE 1
|
||||
#ifndef __cplusplus
|
||||
/* #undef inline */
|
||||
#endif
|
||||
|
||||
#ifndef _NPY_NPY_CONFIG_H_
|
||||
#error config.h should never be included directly, include npy_config.h instead
|
||||
#endif
|
||||
24
meta/recipes-devtools/python-numpy/files/x86/numpyconfig.h
Normal file
24
meta/recipes-devtools/python-numpy/files/x86/numpyconfig.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef _NPY_NUMPYCONFIG_H_
|
||||
#define _NPY_NUMPYCONFIG_H_
|
||||
|
||||
#include "_numpyconfig.h"
|
||||
|
||||
/*
|
||||
* On Mac OS X, because there is only one configuration stage for all the archs
|
||||
* in universal builds, any macro which depends on the arch needs to be
|
||||
* harcoded
|
||||
*/
|
||||
#ifdef __APPLE__
|
||||
#undef NPY_SIZEOF_LONG
|
||||
#undef NPY_SIZEOF_PY_INTPTR_T
|
||||
|
||||
#ifdef __LP64__
|
||||
#define NPY_SIZEOF_LONG 8
|
||||
#define NPY_SIZEOF_PY_INTPTR_T 8
|
||||
#else
|
||||
#define NPY_SIZEOF_LONG 4
|
||||
#define NPY_SIZEOF_PY_INTPTR_T 4
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
101
meta/recipes-devtools/python-numpy/python-numpy_1.10.4.bb
Normal file
101
meta/recipes-devtools/python-numpy/python-numpy_1.10.4.bb
Normal file
@@ -0,0 +1,101 @@
|
||||
SUMMARY = "A sophisticated Numeric Processing Package for Python"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "PSF"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9f4e88b5748e8313caaf33d081ce65a3"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \
|
||||
file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \
|
||||
file://remove-build-path-in-comments.patch \
|
||||
file://add-glibc-check.patch \
|
||||
${CONFIGFILESURI} "
|
||||
|
||||
CONFIGFILESURI ?= ""
|
||||
|
||||
CONFIGFILESURI_aarch64 = " \
|
||||
file://config.h \
|
||||
file://_numpyconfig.h \
|
||||
"
|
||||
CONFIGFILESURI_arm = " \
|
||||
file://config.h \
|
||||
file://numpyconfig.h \
|
||||
"
|
||||
CONFIGFILESURI_armeb = " \
|
||||
file://config.h \
|
||||
file://numpyconfig.h \
|
||||
"
|
||||
CONFIGFILESURI_mipsel = " \
|
||||
file://config.h \
|
||||
file://numpyconfig.h \
|
||||
"
|
||||
CONFIGFILESURI_x86 = " \
|
||||
file://config.h \
|
||||
file://numpyconfig.h \
|
||||
"
|
||||
CONFIGFILESURI_x86-64 = " \
|
||||
file://config.h \
|
||||
file://_numpyconfig.h \
|
||||
"
|
||||
CONFIGFILESURI_mips = " \
|
||||
file://config.h \
|
||||
file://_numpyconfig.h \
|
||||
"
|
||||
CONFIGFILESURI_powerpc = " \
|
||||
file://config.h \
|
||||
file://_numpyconfig.h \
|
||||
"
|
||||
CONFIGFILESURI_powerpc64 = " \
|
||||
file://config.h \
|
||||
file://_numpyconfig.h \
|
||||
"
|
||||
CONFIGFILESURI_mips64 = " \
|
||||
file://config.h \
|
||||
file://_numpyconfig.h \
|
||||
"
|
||||
CONFIGFILESURI_mips64n32 = " \
|
||||
file://config.h \
|
||||
file://_numpyconfig.h \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/numpy-${PV}"
|
||||
|
||||
inherit distutils
|
||||
|
||||
# Make the build fail and replace *config.h with proper one
|
||||
# This is a ugly, ugly hack - Koen
|
||||
do_compile_prepend_class-target() {
|
||||
${STAGING_BINDIR_NATIVE}/python-native/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
|
||||
true
|
||||
cp ${WORKDIR}/*config.h ${S}/build/$(ls ${S}/build | grep src)/numpy/core/include/numpy/
|
||||
}
|
||||
|
||||
FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a"
|
||||
|
||||
SRC_URI[md5sum] = "90bb9034652cefbada19cf7d141a6a61"
|
||||
SRC_URI[sha256sum] = "f7f91842056a7cf680b0eaf8cefc5e46c69e2521e651128d2e6aaaccec8652ae"
|
||||
|
||||
# install what is needed for numpy.test()
|
||||
RDEPENDS_${PN} = "python-unittest \
|
||||
python-difflib \
|
||||
python-pprint \
|
||||
python-pickle \
|
||||
python-shell \
|
||||
python-nose \
|
||||
python-doctest \
|
||||
python-datetime \
|
||||
python-distutils \
|
||||
python-misc \
|
||||
python-mmap \
|
||||
python-netclient \
|
||||
python-numbers \
|
||||
python-pydoc \
|
||||
python-pkgutil \
|
||||
python-email \
|
||||
python-subprocess \
|
||||
python-compression \
|
||||
python-ctypes \
|
||||
python-threading \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}_class-native = ""
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user