Skip to content

Commit 9da19f2

Browse files
committed
Add NumPy patch: avoid calling strtold_l
1 parent fc2c044 commit 9da19f2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

graalpython/lib-graalpython/patches/numpy/sdist/numpy-1.16.4.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,3 +790,16 @@ index 8b2ded1f2..8a9295a27 100755
790790
entry_points={
791791
'console_scripts': f2py_cmds
792792
},
793+
diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py
794+
index d3ce70d..ef8bc9a 100644
795+
--- a/numpy/core/setup_common.py
796+
+++ b/numpy/core/setup_common.py
797+
@@ -110,7 +110,7 @@ MANDATORY_FUNCS = ["sin", "cos", "tan", "sinh", "cosh", "tanh", "fabs",
798+
OPTIONAL_STDFUNCS = ["expm1", "log1p", "acosh", "asinh", "atanh",
799+
"rint", "trunc", "exp2", "log2", "hypot", "atan2", "pow",
800+
"copysign", "nextafter", "ftello", "fseeko",
801+
- "strtoll", "strtoull", "cbrt", "strtold_l", "fallocate",
802+
+ "strtoll", "strtoull", "cbrt", "fallocate",
803+
"backtrace", "madvise"]
804+
805+

0 commit comments

Comments
 (0)