mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 22:00:09 +02:00
numpy: bump version.
keep 1.16.5 for python 2.7.
This commit is contained in:
15
dev-python/numpy/patches/numpy-1.17.2.patch
Normal file
15
dev-python/numpy/patches/numpy-1.17.2.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff --git a/numpy/core/src/umath/cpuid.c b/numpy/core/src/umath/cpuid.c
|
||||
index 6744ceb..b1aaa09 100644
|
||||
--- a/numpy/core/src/umath/cpuid.c
|
||||
+++ b/numpy/core/src/umath/cpuid.c
|
||||
@@ -19,7 +19,9 @@
|
||||
static NPY_INLINE
|
||||
int os_avx_support(void)
|
||||
{
|
||||
-#if HAVE_XGETBV
|
||||
+// See, GCC bug < 7.3.1
|
||||
+// https://github.com/numpy/numpy/pull/10814
|
||||
+#if 0
|
||||
/*
|
||||
* use bytes for xgetbv to avoid issues with compiler not knowing the
|
||||
* instruction
|
||||
Reference in New Issue
Block a user