kokkos-legacy: fix host_arch/gpu_arch variants (#19754)

'default' specifies a value that is not present in 'values'.
This commit is contained in:
Andrew W Elble 2020-11-05 11:31:11 -05:00 committed by GitHub
parent 6dc25e7dbf
commit 08e825f474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'
)