Skip to content

Commit

Permalink
Update spack package post v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rasolca committed May 31, 2024
1 parent 88f2543 commit d576adb
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions spack/packages/dla-future/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class DlaFuture(CMakePackage, CudaPackage, ROCmPackage):

license("BSD-3-Clause")

version("0.5.0", sha256="f964ee2a96bb58b3f0ee4563ae65fcd136e409a7c0e66beda33f926fc9515a8e")
version("0.4.1", sha256="ba95f26475ad68da1f3a24d091dc1b925525e269e4c83c1eaf1d37d29b526666")
version("0.4.0", sha256="34fd0da0d1a72b6981bed0bba029ba0947e0d0d99beb3e0aad0a478095c9527d")
version("0.3.1", sha256="350a7fd216790182aa52639a3d574990a9d57843e02b92d87b854912f4812bfe")
Expand Down Expand Up @@ -49,7 +50,7 @@ class DlaFuture(CMakePackage, CudaPackage, ROCmPackage):
variant(
"mpi-gpu-aware",
default=False,
when="@master",
when="@0.5.0:",
description="Use GPU-aware MPI.",
)
conflicts(
Expand All @@ -61,7 +62,7 @@ class DlaFuture(CMakePackage, CudaPackage, ROCmPackage):
variant(
"mpi-gpu-force-contiguous",
default=True,
when="@master +mpi-gpu-aware",
when="@0:5:0: +mpi-gpu-aware",
description="Force communication buffers to be contiguous before communicating.",
)

Expand Down Expand Up @@ -148,10 +149,12 @@ class DlaFuture(CMakePackage, CudaPackage, ROCmPackage):
depends_on(f"umpire cuda_arch={arch}", when=f"cuda_arch={arch}")

patch(
"https://github.com/eth-cscs/DLA-Future/pull/1063/commits/efc9c176a7a8c512b3f37d079dec8c25ac1b7389.patch?full_index=1",
sha256="7f382c872d89f22da1ad499e85ffe9881cc7404c8465e42877a210a09382e2ea",
"https://github.com/eth-cscs/DLA-Future/commit/efc9c176a7a8c512b3f37d079dec8c25ac1b7389.patch?full_index=1",
sha256="f40e4a734650f56c39379717a682d00d6400a7a102d90821542652824a8f64cd",
when="@:0.3 %gcc@13:",
)
# https://github.com/spack/spack/issues/41511
patch("hip_complex_operator_overloads.patch", when="+rocm")

### Variants available only in the DLAF repo spack package
cxxstds = ("17", "20")
Expand Down

0 comments on commit d576adb

Please sign in to comment.