mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-15 14:40:24 +00:00
python-numpy: update to 1.7.0
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
8b7fa82275
commit
f72b484e53
@@ -1,41 +0,0 @@
|
||||
From 7d7a5939dcf5821d9f381d57bfa2012568ef6b82 Mon Sep 17 00:00:00 2001
|
||||
From: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
|
||||
Date: Thu, 10 Jan 2013 21:49:01 +0100
|
||||
Subject: [PATCH] Added support for AArch64 architecture
|
||||
|
||||
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
|
||||
|
||||
Upstream-Status: backport
|
||||
---
|
||||
numpy/core/include/numpy/npy_cpu.h | 2 ++
|
||||
numpy/core/include/numpy/npy_endian.h | 1 +
|
||||
2 files changed, 3 insertions(+)
|
||||
|
||||
diff --git a/numpy/core/include/numpy/npy_cpu.h b/numpy/core/include/numpy/npy_cpu.h
|
||||
index 8a29788..9707a7a 100644
|
||||
--- a/numpy/core/include/numpy/npy_cpu.h
|
||||
+++ b/numpy/core/include/numpy/npy_cpu.h
|
||||
@@ -66,6 +66,8 @@
|
||||
#define NPY_CPU_MIPSEL
|
||||
#elif defined(__MIPSEB__)
|
||||
#define NPY_CPU_MIPSEB
|
||||
+#elif defined(__aarch64__)
|
||||
+ #define NPY_CPU_AARCH64
|
||||
#else
|
||||
#error Unknown CPU, please report this to numpy maintainers with \
|
||||
information about your platform (OS, CPU and compiler)
|
||||
diff --git a/numpy/core/include/numpy/npy_endian.h b/numpy/core/include/numpy/npy_endian.h
|
||||
index aa5ed8b..4e3349f 100644
|
||||
--- a/numpy/core/include/numpy/npy_endian.h
|
||||
+++ b/numpy/core/include/numpy/npy_endian.h
|
||||
@@ -25,6 +25,7 @@
|
||||
|| defined(NPY_CPU_IA64) \
|
||||
|| defined(NPY_CPU_ALPHA) \
|
||||
|| defined(NPY_CPU_ARMEL) \
|
||||
+ || defined(NPY_CPU_AARCH64) \
|
||||
|| defined(NPY_CPU_SH_LE) \
|
||||
|| defined(NPY_CPU_MIPSEL)
|
||||
#define NPY_BYTE_ORDER NPY_LITTLE_ENDIAN
|
||||
--
|
||||
1.8.0
|
||||
|
||||
Reference in New Issue
Block a user