diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/arborx/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/arborx/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/arborx/package.py b/var/spack/repos/builtin/packages/arborx/package.py index 9263ea96cc..8888380db5 100644 --- a/var/spack/repos/builtin/packages/arborx/package.py +++ b/var/spack/repos/builtin/packages/arborx/package.py @@ -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 |