diff options
author | Dom Heinzeller <dom.heinzeller@icloud.com> | 2022-04-15 14:47:01 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-15 15:47:01 -0500 |
commit | 3b8256ef6aeef96611cb0c6ac1c804db77020de5 (patch) | |
tree | b5d61b4a84bdba55ef65c95f6a01838b72976c1b | |
parent | 33d791bd1c6654ca7464630e65b6558eb80c5451 (diff) | |
download | spack-3b8256ef6aeef96611cb0c6ac1c804db77020de5.tar.gz spack-3b8256ef6aeef96611cb0c6ac1c804db77020de5.tar.bz2 spack-3b8256ef6aeef96611cb0c6ac1c804db77020de5.tar.xz spack-3b8256ef6aeef96611cb0c6ac1c804db77020de5.zip |
Backport f2py's define for threading bugfix to numpy versions 1.20.3:1.22.1 (#30065)
-rw-r--r-- | var/spack/repos/builtin/packages/py-numpy/package.py | 5 |
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') |