summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSam Reeve <6740307+streeve@users.noreply.github.com>2023-05-04 00:43:31 -0400
committerGitHub <noreply@github.com>2023-05-04 00:43:31 -0400
commit58e527935c1e078d655f0c1330223c14cb0aa587 (patch)
treecf59d7b3b4d6e49677f65f54a964277922363808 /var
parentc511fbb717ef800a24d8d5fbb8b6a10babfc9110 (diff)
downloadspack-58e527935c1e078d655f0c1330223c14cb0aa587.tar.gz
spack-58e527935c1e078d655f0c1330223c14cb0aa587.tar.bz2
spack-58e527935c1e078d655f0c1330223c14cb0aa587.tar.xz
spack-58e527935c1e078d655f0c1330223c14cb0aa587.zip
cabana: Add optional silo build (#37393)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cabana/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cabana/package.py b/var/spack/repos/builtin/packages/cabana/package.py
index 6607c02775..cebc2d4aaf 100644
--- a/var/spack/repos/builtin/packages/cabana/package.py
+++ b/var/spack/repos/builtin/packages/cabana/package.py
@@ -36,6 +36,7 @@ class Cabana(CMakePackage):
variant("arborx", default=False, description="Build with ArborX support")
variant("heffte", default=False, description="Build with heFFTe support")
variant("hypre", default=False, description="Build with HYPRE support")
+ variant("silo", default=False, description="Build with SILO support")
variant("cajita", default=False, description="Build Cajita subpackage")
variant("testing", default=False, description="Build unit tests")
variant("examples", default=False, description="Build tutorial examples")
@@ -62,6 +63,7 @@ class Cabana(CMakePackage):
# compatibilty to later minor versions.
depends_on("heffte@2.0.0", when="@0.4.0+heffte")
depends_on("heffte@2.1.0", when="@0.5.0:+heffte")
+ depends_on("silo", when="@0.5.0:+silo")
depends_on("mpi", when="+mpi")
conflicts("+cajita ~mpi")
@@ -73,7 +75,7 @@ class Cabana(CMakePackage):
options = [self.define_from_variant("BUILD_SHARED_LIBS", "shared")]
enable = ["CAJITA", "TESTING", "EXAMPLES", "PERFORMANCE_TESTING"]
- require = ["ARBORX", "HEFFTE", "HYPRE"]
+ require = ["ARBORX", "HEFFTE", "HYPRE", "SILO"]
# These variables were removed in 0.3.0 (where backends are
# automatically used from Kokkos)