singularity-eos: remove conditional depends_on (#50381)

This commit is contained in:
Harmen Stoppels 2025-05-08 18:42:06 +02:00 committed by GitHub
parent 7b93d01a68
commit 7bbf581169
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,6 @@
import os import os
import spack
from spack.package import * from spack.package import *
@ -115,8 +114,6 @@ class SingularityEos(CMakePackage, CudaPackage):
# specfic specs when using GPU/cuda offloading # specfic specs when using GPU/cuda offloading
depends_on("kokkos +wrapper+cuda_lambda", when="+cuda+kokkos") depends_on("kokkos +wrapper+cuda_lambda", when="+cuda+kokkos")
# fix for older spacks
if Version(spack.spack_version) >= Version("0.17"):
depends_on("kokkos-kernels ~shared", when="+kokkos-kernels") depends_on("kokkos-kernels ~shared", when="+kokkos-kernels")
for _flag in list(CudaPackage.cuda_arch_values): for _flag in list(CudaPackage.cuda_arch_values):