From 6f824b598ca0a25c2a49457e45555732e1b5edcd Mon Sep 17 00:00:00 2001 From: Fabien Bruneval Date: Tue, 30 Jun 2020 04:24:25 +0200 Subject: 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 * Update var/spack/repos/builtin/packages/cp2k/package.py Co-authored-by: Adam J. Stewart * Update var/spack/repos/builtin/packages/cp2k/package.py Co-authored-by: Adam J. Stewart * Update var/spack/repos/builtin/packages/cp2k/package.py Co-authored-by: Adam J. Stewart * Update var/spack/repos/builtin/packages/cp2k/package.py Co-authored-by: Adam J. Stewart * Update var/spack/repos/builtin/packages/cp2k/package.py Co-authored-by: Adam J. Stewart Co-authored-by: Adam J. Stewart --- var/spack/repos/builtin/packages/cp2k/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v1.2.3-70-g09d2