cabana: Add optional silo build (#37393)
This commit is contained in:
parent
c511fbb717
commit
58e527935c
1 changed files with 3 additions and 1 deletions
|
@ -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 @@ def cmake_args(self):
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue