Files
MINGW-packages/mingw-w64-python-numba/setup.patch
2022-08-19 20:31:05 +01:00

25 lines
789 B
Diff

--- a/setup.py
+++ a/setup.py
@@ -23,7 +23,7 @@
max_python_version = "3.11" # exclusive
min_numpy_build_version = "1.11"
min_numpy_run_version = "1.18"
-max_numpy_run_version = "1.23"
+max_numpy_run_version = "1.24"
min_llvmlite_version = "0.39.0dev0"
max_llvmlite_version = "0.40"
@@ -236,9 +236,9 @@
# Set various flags for use in TBB and openmp. On OSX, also find OpenMP!
have_openmp = True
if sys.platform.startswith('win'):
- cpp11flags = []
- ompcompileflags = ['-openmp']
- omplinkflags = []
+ cpp11flags = ['-std=c++11']
+ ompcompileflags = ['-fopenmp']
+ omplinkflags = ['-fopenmp']
elif sys.platform.startswith('darwin'):
cpp11flags = ['-std=c++11']
# This is a bit unusual but necessary...