Skip to content

Commit

Permalink
Update package after v0.2.0 release (#964)
Browse files Browse the repository at this point in the history
  • Loading branch information
rasolca authored Aug 31, 2023
1 parent e52fde5 commit f467da9
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions spack/packages/dla-future/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,29 @@ class DlaFuture(CMakePackage, CudaPackage, ROCmPackage):
git = "https://github.com/eth-cscs/DLA-Future.git"
maintainers = ["rasolca", "albestro", "msimberg", "aurianer"]

version("0.2.0", sha256="da73cbd1b88287c86d84b1045a05406b742be924e65c52588bbff200abd81a10")
version("0.1.0", sha256="f7ffcde22edabb3dc24a624e2888f98829ee526da384cd752b2b271c731ca9b1")
version("master", branch="master")

variant("shared", default=True, description="Build shared libraries.")

variant("hdf5", default=False, description="HDF5 support for dealing with matrices on disk.")
variant(
"hdf5",
default=False,
when="@0.2.0:",
description="HDF5 support for dealing with matrices on disk.",
)

variant("doc", default=False, description="Build documentation.")

variant("miniapps", default=False, description="Build miniapps.")

variant("scalapack", default=False, description="Build C API compatible with ScaLAPACK")
variant(
"scalapack",
default=False,
when="@0.2.0:",
description="Build C API compatible with ScaLAPACK",
)

depends_on("[email protected]:", type="build")
depends_on("doxygen", type="build", when="+doc")
Expand All @@ -43,7 +54,8 @@ class DlaFuture(CMakePackage, CudaPackage, ROCmPackage):
depends_on("umpire+rocm~shared", when="+rocm")
depends_on("[email protected]:")

depends_on("[email protected]:")
depends_on("[email protected]:", when="@0.1")
depends_on("[email protected]:", when="@0.2.0:")
depends_on("[email protected]:")
depends_on("pika +mpi")
depends_on("pika +cuda", when="+cuda")
Expand Down Expand Up @@ -159,8 +171,7 @@ def cmake_args(self):
if "+scalapack" in spec:
args.append(self.define("SCALAPACK_LIBRARY", spec["scalapack"].libs.ld_flags))

if "+scalapack" in spec:
args.append(self.define_from_variant("DLAF_WITH_SCALAPACK", "scalapack"))
args.append(self.define_from_variant("DLAF_WITH_SCALAPACK", "scalapack"))

# CUDA/HIP
args.append(self.define_from_variant("DLAF_WITH_CUDA", "cuda"))
Expand Down

0 comments on commit f467da9

Please sign in to comment.