summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cudnn/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cudnn/package.py b/var/spack/repos/builtin/packages/cudnn/package.py
index cb3bbda157..f8496de745 100644
--- a/var/spack/repos/builtin/packages/cudnn/package.py
+++ b/var/spack/repos/builtin/packages/cudnn/package.py
@@ -159,7 +159,7 @@ class Cudnn(Package):
cudnn_ver, cuda_ver = ver.split('-')
long_ver = "{0}-{1}".format(cudnn_ver, cuda_ver)
if pkg:
- version(long_ver, sha256=pkg, expand=False)
+ version(long_ver, sha256=pkg)
# Add constraints matching CUDA version to cuDNN version
cuda_req = 'cuda@{0}.0:{0}.999'.format(cuda_ver)
cudnn_ver_req = '@{0}'.format(long_ver)