summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2020-11-06 21:58:38 -0500
committerGitHub <noreply@github.com>2020-11-06 20:58:38 -0600
commitdcf3d8332abf7b2ed3f37da6810e5a4f48142cf2 (patch)
tree81a9125f4c8a6c43c9fe874832b84fd0afc44b9b
parentef9b8da2826a2ae29ed987ecb0b314c5cfd1a582 (diff)
downloadspack-dcf3d8332abf7b2ed3f37da6810e5a4f48142cf2.tar.gz
spack-dcf3d8332abf7b2ed3f37da6810e5a4f48142cf2.tar.bz2
spack-dcf3d8332abf7b2ed3f37da6810e5a4f48142cf2.tar.xz
spack-dcf3d8332abf7b2ed3f37da6810e5a4f48142cf2.zip
cp2k: fix lmax variant to use tuple (#19780)
* cp2k: fix lmax variant to use tuple discovered during testing #19501 @dev-zero * retain conversion to string
-rw-r--r--var/spack/repos/builtin/packages/cp2k/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cp2k/package.py b/var/spack/repos/builtin/packages/cp2k/package.py
index 1b248506da..1a74283b3c 100644
--- a/var/spack/repos/builtin/packages/cp2k/package.py
+++ b/var/spack/repos/builtin/packages/cp2k/package.py
@@ -70,7 +70,7 @@ class Cp2k(MakefilePackage, CudaPackage):
variant('lmax',
description='Maximum supported angular momentum (HFX and others)',
default='5',
- values=map(str, HFX_LMAX_RANGE),
+ values=tuple(map(str, HFX_LMAX_RANGE)),
multi=False)
depends_on('python', type='build')