From b80d5e74e52542ae8961acda16b57951d36c1925 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Thu, 18 Jun 2020 17:24:38 -0500 Subject: PyTorch: add v1.5.1 (#17167) --- var/spack/repos/builtin/packages/py-torch/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-60-g2f50