Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update package after v0.2.0 release #964

Merged
merged 6 commits into from
Aug 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading