NumPy: rework, bump, cleanup, extra libs (#3694)

* NumPy: rework, bump, cleanup, extra libs

* URL

* COPYRIGHT

* Fixed missing symbol

* Linkage fix

* PATCHSET

* Cleanup
This commit is contained in:
miqlas
2019-03-27 11:30:32 +01:00
committed by GitHub
parent 840b652626
commit 0c381d3c2a
4 changed files with 149 additions and 135 deletions

View 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