summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-04-22 15:47:14 -0500
committerGitHub <noreply@github.com>2020-04-22 15:47:14 -0500
commit46e90692e829457b133521f7dc5c6d7c1f7502da (patch)
treed38a3fca25e52fef3b082fa3c9fd8009f1a97ad7
parent0d2ebbf996d0ad3fa049b8f50304cd51b8c40467 (diff)
downloadspack-46e90692e829457b133521f7dc5c6d7c1f7502da.tar.gz
spack-46e90692e829457b133521f7dc5c6d7c1f7502da.tar.bz2
spack-46e90692e829457b133521f7dc5c6d7c1f7502da.tar.xz
spack-46e90692e829457b133521f7dc5c6d7c1f7502da.zip
PyTorch: add conflict for Apple Clang 11.0.3 (#16238)
* PyTorch: add conflict for Apple Clang 11.0.3 * Flake8 fix
-rw-r--r--var/spack/repos/builtin/packages/py-torch/package.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-torch/package.py b/var/spack/repos/builtin/packages/py-torch/package.py
index 6428d6cb8e..f786ad14bc 100644
--- a/var/spack/repos/builtin/packages/py-torch/package.py
+++ b/var/spack/repos/builtin/packages/py-torch/package.py
@@ -52,7 +52,6 @@ class PyTorch(PythonPackage, CudaPackage):
version('master', branch='master', submodules=True)
version('1.5.0', tag='v1.5.0', submodules=True)
version('1.4.1', tag='v1.4.1', submodules=True)
- # see https://github.com/pytorch/pytorch/issues/35149
version('1.4.0', tag='v1.4.0', submodules=True,
submodules_delete=['third_party/fbgemm'])
version('1.3.1', tag='v1.3.1', submodules=True)
@@ -104,8 +103,11 @@ class PyTorch(PythonPackage, CudaPackage):
conflicts('+redis', when='@:1.0')
conflicts('+zstd', when='@:1.0')
conflicts('+tbb', when='@:1.1')
- # see https://github.com/pytorch/pytorch/issues/35149
+ # https://github.com/pytorch/pytorch/issues/35149
conflicts('+fbgemm', when='@1.4.0')
+ # https://github.com/pytorch/pytorch/issues/35478
+ conflicts('%clang@11.0.3-apple',
+ msg='Apple Clang 11.0.3 segfaults at build-time')
conflicts('cuda_arch=none', when='+cuda',
msg='Must specify CUDA compute capabilities of your GPU, see '