diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/mesa18/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/mesa18/package.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/mesa18/package.py b/var/spack/repos/builtin/packages/mesa18/package.py index bc18121b3a..fe4c57eb80 100644 --- a/var/spack/repos/builtin/packages/mesa18/package.py +++ b/var/spack/repos/builtin/packages/mesa18/package.py @@ -42,7 +42,8 @@ class Mesa18(AutotoolsPackage): # Internal options variant('llvm', default=True, description="Enable LLVM.") - variant('swr', values=any_combination_of('avx', 'avx2', 'knl', 'skx'), + _SWR_ENABLED_VALUES = ('avx', 'avx2', 'knl', 'skx') + variant('swr', values=any_combination_of(*_SWR_ENABLED_VALUES), description="Enable the SWR driver.") # conflicts('~llvm', when='~swr=none') |