summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python-numpy/files/0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python-numpy/files/0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch')
-rw-r--r--meta-python/recipes-devtools/python-numpy/files/0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/meta-python/recipes-devtools/python-numpy/files/0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch b/meta-python/recipes-devtools/python-numpy/files/0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch
deleted file mode 100644
index 9da6a2b3da..0000000000
--- a/meta-python/recipes-devtools/python-numpy/files/0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From b881e0b2ba9cf1a4aa351a1c1ea90b1e1776ce21 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Mon, 12 Aug 2019 15:37:36 +0200
4Subject: [PATCH] numpy/random/setup.py: remove the detection of x86 targets
5 via uname()
6
7This was badly breaking compilation for ARM targets (and possibly
8other non-x86 targets); if -msse2 is desirable for x86 builds it has
9to be passed through another channel.
10
11Upstream-Status: Inappropriate [oe-core specific]
12Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13---
14 numpy/random/setup.py | 5 -----
15 1 file changed, 5 deletions(-)
16
17diff --git a/numpy/random/setup.py b/numpy/random/setup.py
18index a1bf3b8..60fb534 100644
19--- a/numpy/random/setup.py
20+++ b/numpy/random/setup.py
21@@ -49,11 +49,6 @@ def configuration(parent_package='', top_path=None):
22 elif not is_msvc:
23 # Some bit generators require c99
24 EXTRA_COMPILE_ARGS += ['-std=c99']
25- INTEL_LIKE = any(arch in platform.machine()
26- for arch in ('x86', 'i686', 'i386', 'amd64'))
27- if INTEL_LIKE:
28- # Assumes GCC or GCC-like compiler
29- EXTRA_COMPILE_ARGS += ['-msse2']
30
31 # Use legacy integer variable sizes
32 LEGACY_DEFS = [('NP_RANDOM_LEGACY', '1')]