summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-06-18 17:24:38 -0500
committerGitHub <noreply@github.com>2020-06-18 17:24:38 -0500
commitb80d5e74e52542ae8961acda16b57951d36c1925 (patch)
tree77ea0295de8b4e4d4334917876996a2903d05671 /var
parent5a0c5de50b168e34278a876942cda93ddd440c84 (diff)
downloadspack-b80d5e74e52542ae8961acda16b57951d36c1925.tar.gz
spack-b80d5e74e52542ae8961acda16b57951d36c1925.tar.bz2
spack-b80d5e74e52542ae8961acda16b57951d36c1925.tar.xz
spack-b80d5e74e52542ae8961acda16b57951d36c1925.zip
PyTorch: add v1.5.1 (#17167)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-torch/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-torch/package.py b/var/spack/repos/builtin/packages/py-torch/package.py
index 4878c34376..c240144f11 100644
--- a/var/spack/repos/builtin/packages/py-torch/package.py
+++ b/var/spack/repos/builtin/packages/py-torch/package.py
@@ -50,6 +50,7 @@ class PyTorch(PythonPackage, CudaPackage):
]
version('master', branch='master', submodules=True)
+ version('1.5.1', tag='v1.5.1', submodules=True)
version('1.5.0', tag='v1.5.0', submodules=True)
version('1.4.1', tag='v1.4.1', submodules=True)
version('1.4.0', tag='v1.4.0', submodules=True,
@@ -170,7 +171,7 @@ class PyTorch(PythonPackage, CudaPackage):
# https://github.com/pytorch/pytorch/pull/35607
# https://github.com/pytorch/pytorch/pull/37865
# Fixes CMake configuration error when XNNPACK is disabled
- patch('xnnpack.patch', when='@1.5.0')
+ patch('xnnpack.patch', when='@1.5.0:1.5.999')
# https://github.com/pytorch/pytorch/pull/37086
# Fixes compilation with Clang 9.0.0 and Apple Clang 11.0.3