Browse Source

Update numpy to 1.25.2

shadchin 1 year ago
parent
commit
6b2446d933

+ 7 - 0
contrib/libs/python/Include/pyerrors.h

@@ -0,0 +1,7 @@
+#pragma once
+
+#ifdef USE_PYTHON3
+#include <contrib/tools/python3/src/Include/pyerrors.h>
+#else
+#include <contrib/tools/python/src/Include/pyerrors.h>
+#endif

+ 5 - 0
contrib/python/numpy/include/numpy/core/include/numpy/_dtype_api.h

@@ -0,0 +1,5 @@
+#ifdef USE_PYTHON3
+#include <contrib/python/numpy/py3/numpy/core/include/numpy/_dtype_api.h>
+#else
+#error #include <contrib/python/numpy/py2/numpy/core/include/numpy/_dtype_api.h>
+#endif

+ 5 - 0
contrib/python/numpy/include/numpy/core/include/numpy/experimental_dtype_api.h

@@ -0,0 +1,5 @@
+#ifdef USE_PYTHON3
+#include <contrib/python/numpy/py3/numpy/core/include/numpy/experimental_dtype_api.h>
+#else
+#error #include <contrib/python/numpy/py2/numpy/core/include/numpy/experimental_dtype_api.h>
+#endif

+ 5 - 0
contrib/python/numpy/include/numpy/core/src/common/common.hpp

@@ -0,0 +1,5 @@
+#ifdef USE_PYTHON3
+#include <contrib/python/numpy/py3/numpy/core/src/common/common.hpp>
+#else
+#error #include <contrib/python/numpy/py2/numpy/core/src/common/common.hpp>
+#endif

+ 5 - 0
contrib/python/numpy/include/numpy/core/src/npysort/simd_qsort.dispatch.cpp

@@ -0,0 +1,5 @@
+#ifdef USE_PYTHON3
+#include <contrib/python/numpy/py3/numpy/core/src/npysort/simd_qsort.dispatch.cpp>
+#else
+#error #include <contrib/python/numpy/py2/numpy/core/src/npysort/simd_qsort.dispatch.cpp>
+#endif

+ 5 - 0
contrib/python/numpy/include/numpy/core/src/npysort/simd_qsort_16bit.dispatch.cpp

@@ -0,0 +1,5 @@
+#ifdef USE_PYTHON3
+#include <contrib/python/numpy/py3/numpy/core/src/npysort/simd_qsort_16bit.dispatch.cpp>
+#else
+#error #include <contrib/python/numpy/py2/numpy/core/src/npysort/simd_qsort_16bit.dispatch.cpp>
+#endif

+ 0 - 5
contrib/python/numpy/include/numpy/core/src/npysort/x86-qsort.dispatch.cpp

@@ -1,5 +0,0 @@
-#ifdef USE_PYTHON3
-#include <contrib/python/numpy/py3/numpy/core/src/npysort/x86-qsort.dispatch.cpp>
-#else
-#error #include <contrib/python/numpy/py2/numpy/core/src/npysort/x86-qsort.dispatch.cpp>
-#endif

+ 5 - 0
contrib/python/numpy/include/numpy/core/src/umath/loops_autovec.dispatch.c

@@ -0,0 +1,5 @@
+#ifdef USE_PYTHON3
+#include <contrib/python/numpy/py3/numpy/core/src/umath/loops_autovec.dispatch.c>
+#else
+#error #include <contrib/python/numpy/py2/numpy/core/src/umath/loops_autovec.dispatch.c>
+#endif

+ 5 - 0
contrib/python/numpy/include/numpy/core/src/umath/loops_autovec.dispatch.h

@@ -0,0 +1,5 @@
+#ifdef USE_PYTHON3
+#include <contrib/python/numpy/py3/numpy/core/src/umath/loops_autovec.dispatch.h>
+#else
+#error #include <contrib/python/numpy/py2/numpy/core/src/umath/loops_autovec.dispatch.h>
+#endif

+ 5 - 0
contrib/python/numpy/include/numpy/core/src/umath/loops_logical.dispatch.c

@@ -0,0 +1,5 @@
+#ifdef USE_PYTHON3
+#include <contrib/python/numpy/py3/numpy/core/src/umath/loops_logical.dispatch.c>
+#else
+#error #include <contrib/python/numpy/py2/numpy/core/src/umath/loops_logical.dispatch.c>
+#endif

Some files were not shown because too many files changed in this diff