kokkos-legacy: fix host_arch/gpu_arch variants (#19754)
'default' specifies a value that is not present in 'values'.
This commit is contained in:
parent
6dc25e7dbf
commit
08e825f474
@ -86,7 +86,7 @@ class KokkosLegacy(Package):
|
|||||||
variant(
|
variant(
|
||||||
'host_arch',
|
'host_arch',
|
||||||
default='none',
|
default='none',
|
||||||
values=host_values,
|
values=host_values + ('none',),
|
||||||
description='Set the host architecture to use'
|
description='Set the host architecture to use'
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ class KokkosLegacy(Package):
|
|||||||
variant(
|
variant(
|
||||||
'gpu_arch',
|
'gpu_arch',
|
||||||
default='none',
|
default='none',
|
||||||
values=gpu_values,
|
values=gpu_values + ('none',),
|
||||||
description='Set the GPU architecture to use'
|
description='Set the GPU architecture to use'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user