diff options
-rw-r--r-- | var/spack/repos/builtin/packages/cabana/package.py | 4 |
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) |