arborx: make explicit the need to specify cuda_arch when +cuda (#36450)

This commit is contained in:
Shihab Shahriar Khan
2023-03-27 13:49:17 -04:00
committed by GitHub
parent 5072e48dab
commit efbfe38f63

View File

@@ -73,6 +73,7 @@ class Arborx(CMakePackage, CudaPackage, ROCmPackage):
rocm_dep = "+rocm amdgpu_target={0}".format(arch)
depends_on("kokkos {0}".format(rocm_dep), when=rocm_dep)
conflicts("+cuda", when="cuda_arch=none")
depends_on("kokkos+cuda_lambda", when="~trilinos+cuda")
# Trilinos/Kokkos