summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-numpy/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-numpy/package.py b/var/spack/repos/builtin/packages/py-numpy/package.py
index 66725b2dde..ffcef1abd2 100644
--- a/var/spack/repos/builtin/packages/py-numpy/package.py
+++ b/var/spack/repos/builtin/packages/py-numpy/package.py
@@ -130,6 +130,11 @@ class PyNumpy(PythonPackage):
patch('check_executables4.patch', when='@1.14.0:1.15.4')
patch('check_executables5.patch', when='@:1.13.3')
+ # Backport bug fix for f2py's define for threading when building with Mingw
+ patch('https://github.com/numpy/numpy/pull/20881.patch?full_index=1',
+ sha256='802970a9034d40a8a8f49a03f489d5361d5eabf69249621e6757651448910f1a',
+ when='@1.20.3:1.22.1')
+
# version 1.21.0 runs into an infinit loop during printing
# (e.g. print(numpy.ones(1000)) when compiled with gcc 11
conflicts('%gcc@11:', when='@1.21.0')