kokkos-nvcc-wrapper: Remove unnecessary dependencies (#37794)

This commit is contained in:
Bruno Turcksin 2023-05-28 04:19:30 -04:00 committed by GitHub
parent 1f7c4b0557
commit 9817f24c9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -17,6 +17,8 @@ class KokkosNvccWrapper(Package):
git = "https://github.com/kokkos/kokkos.git"
url = "https://github.com/kokkos/kokkos/archive/3.1.01.tar.gz"
maintainers("Rombur")
version("3.2.00", sha256="05e1b4dd1ef383ca56fe577913e1ff31614764e65de6d6f2a163b2bddb60b3e9")
version("3.1.01", sha256="ff5024ebe8570887d00246e2793667e0d796b08c77a8227fe271127d36eec9dd")
version("3.1.00", sha256="b935c9b780e7330bcb80809992caa2b66fd387e3a1c261c955d622dae857d878")
@ -24,10 +26,7 @@ class KokkosNvccWrapper(Package):
version("master", branch="master")
version("develop", branch="develop")
variant("mpi", default=True, description="use with MPI as the underlying compiler")
depends_on("cuda")
depends_on("mpi", when="+mpi")
depends_on("cmake@3.10:", type="build")
def install(self, spec, prefix):
src = os.path.join("bin", "nvcc_wrapper")

View file

@ -104,7 +104,6 @@ class SingularityEos(CMakePackage, CudaPackage):
for _flag in ("~mpi", "+mpi"):
depends_on("hdf5~cxx+hl" + _flag, when=_flag)
depends_on("py-h5py" + _flag, when="@:1.6.2 " + _flag)
depends_on("kokkos-nvcc-wrapper" + _flag, when="+cuda+kokkos" + _flag)
def flag_handler(self, name, flags):
if name == "fflags":