summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorFabien Bruneval <bruneval@users.noreply.github.com>2020-06-30 04:24:25 +0200
committerGitHub <noreply@github.com>2020-06-29 21:24:25 -0500
commit6f824b598ca0a25c2a49457e45555732e1b5edcd (patch)
tree916d6ca762e85288cd4ca6ecae68af4e3af2df74 /var
parent4a10faff871681d4f2d62b414289001dc02500c8 (diff)
downloadspack-6f824b598ca0a25c2a49457e45555732e1b5edcd.tar.gz
spack-6f824b598ca0a25c2a49457e45555732e1b5edcd.tar.bz2
spack-6f824b598ca0a25c2a49457e45555732e1b5edcd.tar.xz
spack-6f824b598ca0a25c2a49457e45555732e1b5edcd.zip
cp2k: variant tuning `lmax` was broken (#17266)
* cp2k: variant tuning `lmax` was broken - `spack install cp2k lmax=6` now works * Update var/spack/repos/builtin/packages/cp2k/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/cp2k/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/cp2k/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/cp2k/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/cp2k/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/cp2k/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-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 1fba619ffc..18c721220a 100644
--- a/var/spack/repos/builtin/packages/cp2k/package.py
+++ b/var/spack/repos/builtin/packages/cp2k/package.py
@@ -68,7 +68,7 @@ class Cp2k(MakefilePackage, CudaPackage):
variant('lmax',
description='Maximum supported angular momentum (HFX and others)',
default='5',
- values=list(HFX_LMAX_RANGE),
+ values=map(str, HFX_LMAX_RANGE),
multi=False)
depends_on('python', type='build')