summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml2
-rw-r--r--var/spack/repos/builtin/packages/trilinos/package.py2
-rw-r--r--var/spack/repos/builtin/packages/trilinos/shylu-node-optional.patch10
3 files changed, 13 insertions, 1 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml
index 9374e69ec7..7a07de5778 100644
--- a/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml
+++ b/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml
@@ -153,7 +153,7 @@ spack:
- variorum
- veloc
- wannier90
- - xyce +mpi +shared +pymi +pymi_static_tpls ^trilinos~shylu
+ - xyce +mpi +shared +pymi +pymi_static_tpls ^trilinos +shylu
# CUDA
- amrex +cuda
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py
index 2c7acc1d10..20a8d290e2 100644
--- a/var/spack/repos/builtin/packages/trilinos/package.py
+++ b/var/spack/repos/builtin/packages/trilinos/package.py
@@ -447,6 +447,8 @@ class Trilinos(CMakePackage, CudaPackage, ROCmPackage):
# ###################### Patches ##########################
+ patch("shylu-node-optional.patch", when="@13:14.4.0 +shylu")
+
patch("umfpack_from_suitesparse.patch", when="@11.14.1:12.8.1")
for _compiler in ["xl", "xl_r", "clang"]:
patch("xlf_seacas.patch", when="@12.10.1:12.12.1 %" + _compiler)
diff --git a/var/spack/repos/builtin/packages/trilinos/shylu-node-optional.patch b/var/spack/repos/builtin/packages/trilinos/shylu-node-optional.patch
new file mode 100644
index 0000000000..491b8aa490
--- /dev/null
+++ b/var/spack/repos/builtin/packages/trilinos/shylu-node-optional.patch
@@ -0,0 +1,10 @@
+diff -ruN spack-src/packages/shylu/cmake/Dependencies.cmake spack-src-patched/packages/shylu/cmake/Dependencies.cmake
+--- spack-src/packages/shylu/cmake/Dependencies.cmake 2023-08-01 15:08:54.000000000 -0700
++++ spack-src-patched/packages/shylu/cmake/Dependencies.cmake 2023-09-22 12:53:28.755219076 -0700
+@@ -1,4 +1,5 @@
+-SET(LIB_REQUIRED_DEP_PACKAGES ShyLU_DD ShyLU_Node)
++SET(LIB_REQUIRED_DEP_PACKAGES ShyLU_DD)
++SET(LIB_OPTIONAL_DEP_PACKAGES ShyLU_Node)
+ SET(LIB_OPTIONAL_DEP_PACKAGES)
+ SET(TEST_REQUIRED_DEP_PACKAGES)
+ SET(TEST_OPTIONAL_DEP_PACKAGES)