summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/kokkos-legacy/package.py4
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'
)