summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/python/python-numpy/aarch64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/python/python-numpy/aarch64.patch')
-rw-r--r--meta-oe/recipes-devtools/python/python-numpy/aarch64.patch41
1 files changed, 0 insertions, 41 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 8d6661564..000000000
--- a/meta-oe/recipes-devtools/python/python-numpy/aarch64.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 7d7a5939dcf5821d9f381d57bfa2012568ef6b82 Mon Sep 17 00:00:00 2001
2From: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
3Date: Thu, 10 Jan 2013 21:49:01 +0100
4Subject: [PATCH] Added support for AArch64 architecture
5
6Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
7
8Upstream-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
14diff --git a/numpy/core/include/numpy/npy_cpu.h b/numpy/core/include/numpy/npy_cpu.h
15index 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)
27diff --git a/numpy/core/include/numpy/npy_endian.h b/numpy/core/include/numpy/npy_endian.h
28index 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--
401.8.0
41