kokkos-nvcc-wrapper: Remove unnecessary dependencies (#37794)
This commit is contained in:
parent
1f7c4b0557
commit
9817f24c9a
@ -17,6 +17,8 @@ class KokkosNvccWrapper(Package):
|
|||||||
git = "https://github.com/kokkos/kokkos.git"
|
git = "https://github.com/kokkos/kokkos.git"
|
||||||
url = "https://github.com/kokkos/kokkos/archive/3.1.01.tar.gz"
|
url = "https://github.com/kokkos/kokkos/archive/3.1.01.tar.gz"
|
||||||
|
|
||||||
|
maintainers("Rombur")
|
||||||
|
|
||||||
version("3.2.00", sha256="05e1b4dd1ef383ca56fe577913e1ff31614764e65de6d6f2a163b2bddb60b3e9")
|
version("3.2.00", sha256="05e1b4dd1ef383ca56fe577913e1ff31614764e65de6d6f2a163b2bddb60b3e9")
|
||||||
version("3.1.01", sha256="ff5024ebe8570887d00246e2793667e0d796b08c77a8227fe271127d36eec9dd")
|
version("3.1.01", sha256="ff5024ebe8570887d00246e2793667e0d796b08c77a8227fe271127d36eec9dd")
|
||||||
version("3.1.00", sha256="b935c9b780e7330bcb80809992caa2b66fd387e3a1c261c955d622dae857d878")
|
version("3.1.00", sha256="b935c9b780e7330bcb80809992caa2b66fd387e3a1c261c955d622dae857d878")
|
||||||
@ -24,10 +26,7 @@ class KokkosNvccWrapper(Package):
|
|||||||
version("master", branch="master")
|
version("master", branch="master")
|
||||||
version("develop", branch="develop")
|
version("develop", branch="develop")
|
||||||
|
|
||||||
variant("mpi", default=True, description="use with MPI as the underlying compiler")
|
|
||||||
depends_on("cuda")
|
depends_on("cuda")
|
||||||
depends_on("mpi", when="+mpi")
|
|
||||||
depends_on("cmake@3.10:", type="build")
|
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
src = os.path.join("bin", "nvcc_wrapper")
|
src = os.path.join("bin", "nvcc_wrapper")
|
||||||
|
@ -104,7 +104,6 @@ class SingularityEos(CMakePackage, CudaPackage):
|
|||||||
for _flag in ("~mpi", "+mpi"):
|
for _flag in ("~mpi", "+mpi"):
|
||||||
depends_on("hdf5~cxx+hl" + _flag, when=_flag)
|
depends_on("hdf5~cxx+hl" + _flag, when=_flag)
|
||||||
depends_on("py-h5py" + _flag, when="@:1.6.2 " + _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):
|
def flag_handler(self, name, flags):
|
||||||
if name == "fflags":
|
if name == "fflags":
|
||||||
|
Loading…
Reference in New Issue
Block a user