summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Sachs <stephenmsachs@gmail.com>2022-07-21 20:33:41 +0200
committerGitHub <noreply@github.com>2022-07-21 12:33:41 -0600
commitee39fab2266df2eb23f5e239deb015c7554be940 (patch)
tree7b568732776ad8063967f6f56d09e83960d026c7
parent5ffc095f63f5e6c82fe6289ae44066b492c37828 (diff)
downloadspack-ee39fab2266df2eb23f5e239deb015c7554be940.tar.gz
spack-ee39fab2266df2eb23f5e239deb015c7554be940.tar.bz2
spack-ee39fab2266df2eb23f5e239deb015c7554be940.tar.xz
spack-ee39fab2266df2eb23f5e239deb015c7554be940.zip
[py-numpy] Newer versions do not build with `icc` (#31637)
* [py-numpy] Newer versions do not build with `icc` Workaround until https://github.com/numpy/numpy/issues/22011 is solved. * [py-numpy] Remove whitespaces
-rw-r--r--var/spack/repos/builtin/packages/py-numpy/package.py3
1 files changed, 3 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 64f7e14663..dbaed870d6 100644
--- a/var/spack/repos/builtin/packages/py-numpy/package.py
+++ b/var/spack/repos/builtin/packages/py-numpy/package.py
@@ -155,6 +155,9 @@ class PyNumpy(PythonPackage):
# NVHPC support added in https://github.com/numpy/numpy/pull/17344
conflicts('%nvhpc', when='@:1.19')
+ # Newer versions will not build with Intel https://github.com/numpy/numpy/issues/22011
+ conflicts('%intel', when='@1.23.0:')
+
def url_for_version(self, version):
url = 'https://files.pythonhosted.org/packages/source/n/numpy/numpy-{}.{}'
if version >= Version('1.23'):