summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorVeselin Dobrev <v-dobrev@users.noreply.github.com>2024-02-24 15:07:59 -0800
committerGitHub <noreply@github.com>2024-02-24 16:07:59 -0700
commit07afbd5619a37282758edae720c654ebb56177be (patch)
tree4e1da3c149ddaa6de9fa95f20a5feb0cd68524b2 /var
parent5d8cd207ec2cbf4d936006c69e61468783ea58ca (diff)
downloadspack-07afbd5619a37282758edae720c654ebb56177be.tar.gz
spack-07afbd5619a37282758edae720c654ebb56177be.tar.bz2
spack-07afbd5619a37282758edae720c654ebb56177be.tar.xz
spack-07afbd5619a37282758edae720c654ebb56177be.zip
[laghos] Add a patch for MPI_Session (#42841)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/laghos/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/laghos/package.py b/var/spack/repos/builtin/packages/laghos/package.py
index de5a4f09c7..270c78c831 100644
--- a/var/spack/repos/builtin/packages/laghos/package.py
+++ b/var/spack/repos/builtin/packages/laghos/package.py
@@ -44,6 +44,13 @@ class Laghos(MakefilePackage):
# Recommended mfem version for laghos v1.x is: ^mfem@3.3.1-laghos-v1.0
depends_on("mfem@3.3.1-laghos-v1.0", when="@1.0,1.1")
+ # Replace MPI_Session
+ patch(
+ "https://github.com/CEED/Laghos/commit/c800883ab2741c8c3b99486e7d8ddd8e53a7cb95.patch?full_index=1",
+ sha256="e783a71c3cb36886eb539c0f7ac622883ed5caf7ccae597d545d48eaf051d15d",
+ when="@3.1 ^mfem@4.4:",
+ )
+
@property
def build_targets(self):
targets = []