camp: restrict cub dependency to cuda versions older than 10 - as newer cuda versions already include cub (#48008)

Adding an additional dependency on cub pulls in an in-compatible version of cub [than whats provided by cuda]
This commit is contained in:
Satish Balay 2024-12-12 15:17:51 -06:00 committed by GitHub
parent 526af1cbe7
commit c213a8c2a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,8 @@ class Camp(CMakePackage, CudaPackage, ROCmPackage):
variant("omptarget", default=False, description="Build with OpenMP Target support")
variant("sycl", default=False, description="Build with Sycl support")
depends_on("cub", when="+cuda")
with when("+cuda"):
depends_on("cub", when="^cuda@:10")
depends_on("blt", type="build")
depends_on("blt@0.6.2:", type="build", when="@2024.02.1:")