diff options
| -rw-r--r-- | meta-oe/recipes-devtools/python/python-numpy/aarch64.patch | 41 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb (renamed from meta-oe/recipes-devtools/python/python-numpy_1.7.0rc1.bb) | 17 |
2 files changed, 7 insertions, 51 deletions
diff --git a/meta-oe/recipes-devtools/python/python-numpy/aarch64.patch b/meta-oe/recipes-devtools/python/python-numpy/aarch64.patch deleted file mode 100644 index 8d66615649..0000000000 --- a/meta-oe/recipes-devtools/python/python-numpy/aarch64.patch +++ /dev/null | |||
| @@ -1,41 +0,0 @@ | |||
| 1 | From 7d7a5939dcf5821d9f381d57bfa2012568ef6b82 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | ||
| 3 | Date: Thu, 10 Jan 2013 21:49:01 +0100 | ||
| 4 | Subject: [PATCH] Added support for AArch64 architecture | ||
| 5 | |||
| 6 | Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | ||
| 7 | |||
| 8 | Upstream-Status: backport | ||
| 9 | --- | ||
| 10 | numpy/core/include/numpy/npy_cpu.h | 2 ++ | ||
| 11 | numpy/core/include/numpy/npy_endian.h | 1 + | ||
| 12 | 2 files changed, 3 insertions(+) | ||
| 13 | |||
| 14 | diff --git a/numpy/core/include/numpy/npy_cpu.h b/numpy/core/include/numpy/npy_cpu.h | ||
| 15 | index 8a29788..9707a7a 100644 | ||
| 16 | --- a/numpy/core/include/numpy/npy_cpu.h | ||
| 17 | +++ b/numpy/core/include/numpy/npy_cpu.h | ||
| 18 | @@ -66,6 +66,8 @@ | ||
| 19 | #define NPY_CPU_MIPSEL | ||
| 20 | #elif defined(__MIPSEB__) | ||
| 21 | #define NPY_CPU_MIPSEB | ||
| 22 | +#elif defined(__aarch64__) | ||
| 23 | + #define NPY_CPU_AARCH64 | ||
| 24 | #else | ||
| 25 | #error Unknown CPU, please report this to numpy maintainers with \ | ||
| 26 | information about your platform (OS, CPU and compiler) | ||
| 27 | diff --git a/numpy/core/include/numpy/npy_endian.h b/numpy/core/include/numpy/npy_endian.h | ||
| 28 | index aa5ed8b..4e3349f 100644 | ||
| 29 | --- a/numpy/core/include/numpy/npy_endian.h | ||
| 30 | +++ b/numpy/core/include/numpy/npy_endian.h | ||
| 31 | @@ -25,6 +25,7 @@ | ||
| 32 | || defined(NPY_CPU_IA64) \ | ||
| 33 | || defined(NPY_CPU_ALPHA) \ | ||
| 34 | || defined(NPY_CPU_ARMEL) \ | ||
| 35 | + || defined(NPY_CPU_AARCH64) \ | ||
| 36 | || defined(NPY_CPU_SH_LE) \ | ||
| 37 | || defined(NPY_CPU_MIPSEL) | ||
| 38 | #define NPY_BYTE_ORDER NPY_LITTLE_ENDIAN | ||
| 39 | -- | ||
| 40 | 1.8.0 | ||
| 41 | |||
diff --git a/meta-oe/recipes-devtools/python/python-numpy_1.7.0rc1.bb b/meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb index 2e4bd6ad24..bbe4e63b95 100644 --- a/meta-oe/recipes-devtools/python/python-numpy_1.7.0rc1.bb +++ b/meta-oe/recipes-devtools/python/python-numpy_1.7.0.bb | |||
| @@ -2,14 +2,10 @@ DESCRIPTION = "A sophisticated Numeric Processing Package for Python" | |||
| 2 | SECTION = "devel/python" | 2 | SECTION = "devel/python" |
| 3 | LICENSE = "PSF" | 3 | LICENSE = "PSF" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f87832d854acbade6e9f5c601c8b30b1" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f87832d854acbade6e9f5c601c8b30b1" |
| 5 | PR = "r0" | ||
| 6 | PV = "1.6.99+1.7.0rc1" | ||
| 7 | REALPV = "1.7.0rc1" | ||
| 8 | 5 | ||
| 9 | SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${REALPV}.tar.gz \ | 6 | SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/numpy-${PV}.tar.gz \ |
| 10 | ${CONFIGFILESURI} \ | 7 | ${CONFIGFILESURI} " |
| 11 | file://aarch64.patch \ | 8 | |
| 12 | " | ||
| 13 | CONFIGFILESURI ?= "" | 9 | CONFIGFILESURI ?= "" |
| 14 | 10 | ||
| 15 | CONFIGFILESURI_aarch64 = "file://config.h \ | 11 | CONFIGFILESURI_aarch64 = "file://config.h \ |
| @@ -22,7 +18,7 @@ CONFIGFILESURI_mipsel = "file://config.h \ | |||
| 22 | file://numpyconfig.h \ | 18 | file://numpyconfig.h \ |
| 23 | " | 19 | " |
| 24 | 20 | ||
| 25 | S = "${WORKDIR}/numpy-${REALPV}" | 21 | S = "${WORKDIR}/numpy-${PV}" |
| 26 | 22 | ||
| 27 | inherit distutils | 23 | inherit distutils |
| 28 | 24 | ||
| @@ -36,8 +32,9 @@ do_compile_prepend() { | |||
| 36 | } | 32 | } |
| 37 | 33 | ||
| 38 | FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a" | 34 | FILES_${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/numpy/core/lib/*.a" |
| 39 | SRC_URI[md5sum] = "a4719f5a1853bc0f8892a5956d5c4229" | 35 | |
| 40 | SRC_URI[sha256sum] = "45ea23622f72d86bc3614446d668ee962c0475ee7b91a93ef85a5e0493962de5" | 36 | SRC_URI[md5sum] = "4fa54e40b6a243416f0248123b6ec332" |
| 37 | SRC_URI[sha256sum] = "f4fa70b7edbab65ee6432eb63743f5489f1919c614632b20b2fb45aa7e682ac6" | ||
| 41 | 38 | ||
| 42 | # install what is needed for numpy.test() | 39 | # install what is needed for numpy.test() |
| 43 | RDEPENDS_${PN} = "python-unittest \ | 40 | RDEPENDS_${PN} = "python-unittest \ |
