diff options
author | Sam Grayson <sam@samgrayson.me> | 2022-05-09 23:13:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 22:13:39 -0600 |
commit | b5da0d02bf7fd290a922e029cb9be8f2df8af7dc (patch) | |
tree | dac311ab66480873ba5ebb373e80ded8bd74c77f /var | |
parent | 8575afac4e09d73af7d601635e6554ae8016ff54 (diff) | |
download | spack-b5da0d02bf7fd290a922e029cb9be8f2df8af7dc.tar.gz spack-b5da0d02bf7fd290a922e029cb9be8f2df8af7dc.tar.bz2 spack-b5da0d02bf7fd290a922e029cb9be8f2df8af7dc.tar.xz spack-b5da0d02bf7fd290a922e029cb9be8f2df8af7dc.zip |
Fix py-numpy #30373 by backporting Numpy PR (#30486)
* Fix py-numpy #30373
* Update `when` for patch.
Diffstat (limited to 'var')
-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 ffcef1abd2..0190ad55f3 100644 --- a/var/spack/repos/builtin/packages/py-numpy/package.py +++ b/var/spack/repos/builtin/packages/py-numpy/package.py @@ -134,6 +134,11 @@ class PyNumpy(PythonPackage): patch('https://github.com/numpy/numpy/pull/20881.patch?full_index=1', sha256='802970a9034d40a8a8f49a03f489d5361d5eabf69249621e6757651448910f1a', when='@1.20.3:1.22.1') + # Patch to update compiler flags. + # See https://github.com/spack/spack/issues/30373 + patch('https://github.com/numpy/numpy/pull/21448.patch?full_index=1', + sha256='e9508c3b3a1e1a24669014a0c1b9f3b009a149ea3886cf711eaef2a32b247fdb', + when='@1.22.0:1.22.3') # version 1.21.0 runs into an infinit loop during printing # (e.g. print(numpy.ones(1000)) when compiled with gcc 11 |