diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-08-22 17:07:10 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-28 11:31:21 +0100 |
commit | ab840563bc4aa53d672c113c43d1cdeb2e1f88c1 (patch) | |
tree | 8a65911a27e109c1c57838371cb00761a1133666 /meta/recipes-devtools/python-numpy/files/0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch | |
parent | c17113f1e2e7bd8ab019169660718fab81df16fb (diff) | |
download | poky-ab840563bc4aa53d672c113c43d1cdeb2e1f88c1.tar.gz |
python3-numpy: update to 1.17.0
Rebase files/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch
License-Update: clarified license for numpy/core/src/multiarray/dragon4.c (it is MIT)
(From OE-Core rev: e11982182acc65913c6e3438304e8a15fe3792a2)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python-numpy/files/0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch')
-rw-r--r-- | meta/recipes-devtools/python-numpy/files/0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python-numpy/files/0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch b/meta/recipes-devtools/python-numpy/files/0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch new file mode 100644 index 0000000000..ebb2a6f9df --- /dev/null +++ b/meta/recipes-devtools/python-numpy/files/0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From b881e0b2ba9cf1a4aa351a1c1ea90b1e1776ce21 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Mon, 12 Aug 2019 15:37:36 +0200 | ||
4 | Subject: [PATCH] numpy/random/setup.py: remove the detection of x86 targets | ||
5 | via uname() | ||
6 | |||
7 | This was badly breaking compilation for ARM targets (and possibly | ||
8 | other non-x86 targets); if -msse2 is desirable for x86 builds it has | ||
9 | to be passed through another channel. | ||
10 | |||
11 | Upstream-Status: Inappropriate [oe-core specific] | ||
12 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
13 | --- | ||
14 | numpy/random/setup.py | 5 ----- | ||
15 | 1 file changed, 5 deletions(-) | ||
16 | |||
17 | diff --git a/numpy/random/setup.py b/numpy/random/setup.py | ||
18 | index 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([val in k.lower() for k in platform.uname() | ||
26 | - for val 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')] | ||