diff options
author | Andrew W Elble <aweits@rit.edu> | 2020-11-05 11:31:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-05 17:31:11 +0100 |
commit | 08e825f47433972ddcdb35f1187d41be91f6318a (patch) | |
tree | be4e9ac70f8b7cfd11d11ed3562bea8ea6b2e024 | |
parent | 6dc25e7dbf5ad5a6dd5a1c1ba7c2ef34aa37986a (diff) | |
download | spack-08e825f47433972ddcdb35f1187d41be91f6318a.tar.gz spack-08e825f47433972ddcdb35f1187d41be91f6318a.tar.bz2 spack-08e825f47433972ddcdb35f1187d41be91f6318a.tar.xz spack-08e825f47433972ddcdb35f1187d41be91f6318a.zip |
kokkos-legacy: fix host_arch/gpu_arch variants (#19754)
'default' specifies a value that is not present in 'values'.
-rw-r--r-- | var/spack/repos/builtin/packages/kokkos-legacy/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/kokkos-legacy/package.py b/var/spack/repos/builtin/packages/kokkos-legacy/package.py index 2adfa0c9b5..3195e06fd6 100644 --- a/var/spack/repos/builtin/packages/kokkos-legacy/package.py +++ b/var/spack/repos/builtin/packages/kokkos-legacy/package.py @@ -86,7 +86,7 @@ class KokkosLegacy(Package): variant( 'host_arch', default='none', - values=host_values, + values=host_values + ('none',), description='Set the host architecture to use' ) @@ -94,7 +94,7 @@ class KokkosLegacy(Package): variant( 'gpu_arch', default='none', - values=gpu_values, + values=gpu_values + ('none',), description='Set the GPU architecture to use' ) |