summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVeselin Dobrev <v-dobrev@users.noreply.github.com>2023-12-05 10:26:48 -0800
committerGitHub <noreply@github.com>2023-12-05 10:26:48 -0800
commit8bcb1f8766ffbf097ec685bdafad53bc8b6e9e30 (patch)
treed192dbc8b80726c5059552cb7d70d5414c7cd47c
parent5a0ac4ba9439d57926817d440bd8815b4bc0fa93 (diff)
downloadspack-8bcb1f8766ffbf097ec685bdafad53bc8b6e9e30.tar.gz
spack-8bcb1f8766ffbf097ec685bdafad53bc8b6e9e30.tar.bz2
spack-8bcb1f8766ffbf097ec685bdafad53bc8b6e9e30.tar.xz
spack-8bcb1f8766ffbf097ec685bdafad53bc8b6e9e30.zip
MFEM: Add a patch to fix the `+gslib+shared+miniapps` build (#41399)
* [mfem] Add a patch to resolve issue #41382 * [mfem] Spack CI wants "patch URL must end with ?full_index=1"
-rw-r--r--var/spack/repos/builtin/packages/mfem/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mfem/package.py b/var/spack/repos/builtin/packages/mfem/package.py
index 588a4627ed..e002477bd8 100644
--- a/var/spack/repos/builtin/packages/mfem/package.py
+++ b/var/spack/repos/builtin/packages/mfem/package.py
@@ -473,6 +473,11 @@ class Mfem(Package, CudaPackage, ROCmPackage):
patch("mfem-4.0.0-makefile-syntax-fix.patch", when="@4.0.0")
patch("mfem-4.5.patch", when="@4.5.0")
patch("mfem-4.6.patch", when="@4.6.0")
+ patch(
+ "https://github.com/mfem/mfem/pull/4005.patch?full_index=1",
+ when="@4.6.0 +gslib+shared+miniapps",
+ sha256="2a31682d876626529e2778a216d403648b83b90997873659a505d982d0e65beb",
+ )
phases = ["configure", "build", "install"]