From d670a2a5ce564fb5386fa55deb987803d12e8de0 Mon Sep 17 00:00:00 2001 From: Vicente Bolea Date: Tue, 20 Feb 2024 03:54:08 +0900 Subject: [PATCH] adios2: update kokkos dependency (#42621) Co-authored-by: Massimiliano Culpo --- var/spack/repos/builtin/packages/adios2/package.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/var/spack/repos/builtin/packages/adios2/package.py b/var/spack/repos/builtin/packages/adios2/package.py index 2f70cd0582..567c08dc6a 100644 --- a/var/spack/repos/builtin/packages/adios2/package.py +++ b/var/spack/repos/builtin/packages/adios2/package.py @@ -120,9 +120,11 @@ class Adios2(CMakePackage, CudaPackage, ROCmPackage): depends_on("cuda", when="+cuda ~kokkos") # Kokkos support - depends_on("kokkos@3.7: +cuda +wrapper", when="+kokkos +cuda") - depends_on("kokkos@3.7: +rocm", when="+kokkos +rocm") - depends_on("kokkos@3.7: +sycl", when="+kokkos +sycl") + with when("+kokkos"): + depends_on("kokkos@3.7:") + depends_on("kokkos +cuda +wrapper", when="+cuda") + depends_on("kokkos +rocm", when="+rocm") + depends_on("kokkos +sycl", when="+sycl") # Propagate CUDA target to kokkos for +cuda for cuda_arch in CudaPackage.cuda_arch_values: