diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2020-07-28 13:59:18 -0500 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2020-07-31 14:32:56 -0700 |
commit | 58d383877dc4d85c093a50075f9135209c19da0c (patch) | |
tree | fe51a0d8ba3882f8547e20417fbe92a45ab8b1a4 /var | |
parent | 198ccfae4e12499adc30db7d30410e2a91ebc2f5 (diff) | |
download | spack-58d383877dc4d85c093a50075f9135209c19da0c.tar.gz spack-58d383877dc4d85c093a50075f9135209c19da0c.tar.bz2 spack-58d383877dc4d85c093a50075f9135209c19da0c.tar.xz spack-58d383877dc4d85c093a50075f9135209c19da0c.zip |
PyTorch: add v1.6.0
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-torch/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-torch/package.py b/var/spack/repos/builtin/packages/py-torch/package.py index bebf83d3d6..1e2978dc54 100644 --- a/var/spack/repos/builtin/packages/py-torch/package.py +++ b/var/spack/repos/builtin/packages/py-torch/package.py @@ -51,6 +51,7 @@ class PyTorch(PythonPackage, CudaPackage): ] version('master', branch='master', submodules=True) + version('1.6.0', tag='v1.6.0', 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) @@ -121,6 +122,7 @@ class PyTorch(PythonPackage, CudaPackage): # Use Ninja generator to speed up build times # Automatically used if found depends_on('ninja@1.5:', type='build') + depends_on('python@3.6.1:', when='@1.6:', type=('build', 'run')) depends_on('python@3.5:', when='@1.5:', type=('build', 'run')) depends_on('python@2.7:2.8,3.5:', type=('build', 'run')) depends_on('py-setuptools', type='build') |