diff options
Diffstat (limited to 'meta-oe/recipes-devtools/python/python-numpy/aarch64.patch')
-rw-r--r-- | meta-oe/recipes-devtools/python/python-numpy/aarch64.patch | 41 |
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 @@ | |||
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 | |||