diff options
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | 2017-09-15 13:46:06 +0300 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2017-09-19 22:06:15 +0200 |
commit | 8fbb91c3ac911bc654d44f889fac4ae8066be5a3 (patch) | |
tree | 6c22f1e7b6f461561ee94c966abf0625be186c18 /package/python-numpy/0002-Don-t-blindly-enable-frexpl-and-ldexpl-for-uClibc.patch | |
parent | 2960a94fba09345f9716a77b5d040c2f3e670480 (diff) | |
download | buildroot-8fbb91c3ac911bc654d44f889fac4ae8066be5a3.tar.gz buildroot-8fbb91c3ac911bc654d44f889fac4ae8066be5a3.zip |
python-numpy: Bump to the most recent release 1.13.1
Note previously used location for releases on SourceForge is no longer
supported (latest tarball v1.11.2 available there is dated 2016-10-04)
so as other distros
(see, Fedora http://pkgs.fedoraproject.org/cgit/rpms/numpy.git/tree/numpy.spec?id=7013948f8ba073c69a91a545f0a0898cb62652fa#n22)
we get release tarball directly from GitHub.
Also note 0001-no-fenv-on-uclibc.patch was rebased on v1.13.1.
0002-Don-t-blindly-enable-frexpl-and-ldexpl-for-uClibc.patch is no
longer needed. Since https://github.com/numpy/numpy/pull/4852, there
is a wrapper for frexpl and ldexpl like for the other math functions.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Arnout: improve explanation of 0002-Don-t-blindly-enable-frexpl-and-ldexpl-for-uClibc.patch]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package/python-numpy/0002-Don-t-blindly-enable-frexpl-and-ldexpl-for-uClibc.patch')
-rw-r--r-- | package/python-numpy/0002-Don-t-blindly-enable-frexpl-and-ldexpl-for-uClibc.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/package/python-numpy/0002-Don-t-blindly-enable-frexpl-and-ldexpl-for-uClibc.patch b/package/python-numpy/0002-Don-t-blindly-enable-frexpl-and-ldexpl-for-uClibc.patch deleted file mode 100644 index 42d194182f..0000000000 --- a/package/python-numpy/0002-Don-t-blindly-enable-frexpl-and-ldexpl-for-uClibc.patch +++ /dev/null @@ -1,33 +0,0 @@ -From b0a1b9628d17251bb417a063ec6c6e09f32393c2 Mon Sep 17 00:00:00 2001 -From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be> -Date: Tue, 6 Oct 2015 01:20:48 +0100 -Subject: [PATCH] Don't blindly enable frexpl and ldexpl for uClibc - -When the size of double and long double are equal, numpy blindly -assumes that frexpl and ldexpl will be available as well. But for -uClibc, that's not true: it only defines the long double functions -when long double "exists" on the architecture. - -So make an exception for uClibc. - -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> ---- - numpy/core/src/private/npy_config.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/numpy/core/src/private/npy_config.h b/numpy/core/src/private/npy_config.h -index 453dbd0..7ecf72c 100644 ---- a/numpy/core/src/private/npy_config.h -+++ b/numpy/core/src/private/npy_config.h -@@ -11,7 +11,7 @@ - #endif - - /* Safe to use ldexp and frexp for long double for MSVC builds */ --#if (NPY_SIZEOF_LONGDOUBLE == NPY_SIZEOF_DOUBLE) || defined(_MSC_VER) -+#if ((NPY_SIZEOF_LONGDOUBLE == NPY_SIZEOF_DOUBLE) && !defined(__UCLIBC__)) || defined(_MSC_VER) - #ifdef HAVE_LDEXP - #define HAVE_LDEXPL 1 - #endif --- -2.5.3 - |