[Buildroot] [PATCH 1/1] package/python-numpy: bump to version 1.16.2
Romain Naour
romain.naour at smile.fr
Thu Jul 11 21:38:16 UTC 2019
Hi Fabrice,
Le 17/03/2019 à 11:14, Thomas Petazzoni a écrit :
> On Sat, 16 Mar 2019 12:49:43 +0100
> Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:
>
>> - Update patches and send them upstream
>> - Update license hash (typos fixed and year updated)
>>
>> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
>> ---
>> .../0001-Don-t-use-fenv.h-on-uClibc.patch | 30 +++++++++++++
>> package/python-numpy/0001-no-fenv-on-uclibc.patch | 49 ----------------------
>> ...2-FIX-no-FPU-exceptions-bits-on-ARC-glibc.patch | 31 ++++++++++++++
>> .../0003-no-FPU-exceptions-bits-on-ARC-glibc.patch | 42 -------------------
>> package/python-numpy/python-numpy.hash | 6 +--
>> package/python-numpy/python-numpy.mk | 2 +-
>> 6 files changed, 65 insertions(+), 95 deletions(-)
>> create mode 100644 package/python-numpy/0001-Don-t-use-fenv.h-on-uClibc.patch
This patch break python-numpy at runtime see [1] since it now require fenv.h [2].
Alpine Linux (and other musl c library distros) support
-------------------------------------------------------
We now default to use `fenv.h` for floating point status error reporting.
Previously we had a broken default that sometimes would not report underflow,
overflow, and invalid floating point operations. Now we can support non-glibc
distrubutions like Alpine Linux as long as they ship `fenv.h`.
With patch 0001 applied some floating point status function are missing:
* Define floating point status functions. We must define
* npy_get_floatstatus_barrier, npy_clear_floatstatus_barrier,
* npy_set_floatstatus_{divbyzero, overflow, underflow, invalid}
* for all supported platforms.
I believe we should disable python-numpy for uClibc since it doesn't provide fenv.h
[1] http://patchwork.ozlabs.org/patch/1112759
[2] https://github.com/numpy/numpy/commit/367f05a9d0bab03efc9dc394f0019ea6490e81a5
Best regards,
Romain
>> delete mode 100644 package/python-numpy/0001-no-fenv-on-uclibc.patch
>> create mode 100644 package/python-numpy/0002-FIX-no-FPU-exceptions-bits-on-ARC-glibc.patch
>> delete mode 100644 package/python-numpy/0003-no-FPU-exceptions-bits-on-ARC-glibc.patch
>
> Applied to master, thanks.
>
> Thomas
>
More information about the buildroot
mailing list