mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-17 04:23:50 +02:00
In fenv.h, musl disables the normal set of constants that you would get on arm with an arm device with an fpu (armv6 and up), but armv5tel on void uses softfloat all the time. But python3-numpy dosen't use these to interact with the fpu (the compiler would generate those instructions) and rather just uses those constants for a generic GCC implementation. So we give them out anyway. Co-authored-by: fosslinux <fosslinux@aussies.space> Co-authored-by: Andrew J. Hesford <ajh@sideband.org>
11 lines
327 B
Diff
11 lines
327 B
Diff
--- numpy/core/src/npymath/ieee754.c.src 2020-09-20 14:53:51.998825328 +1000
|
|
+++ numpy/core/src/npymath/ieee754.c.src 2020-09-20 14:54:03.611889518 +1000
|
|
@@ -8,6 +8,8 @@
|
|
#include "npy_math_private.h"
|
|
#include "numpy/utils.h"
|
|
|
|
+#include "fenv-constants.h"
|
|
+
|
|
#ifndef HAVE_COPYSIGN
|
|
double npy_copysign(double x, double y)
|
|
{
|