Skip to content
Snippets Groups Projects
Commit a88b5407 authored by Brian Van Essen's avatar Brian Van Essen Committed by Peter Scheibel
Browse files

Conduit package: add option to build with hdf5 versions > 1.8 (#10913)

Added a variant to allow conduit to build with newer versions of
HDF5.  Set the default for the variant to prefer compatibility mode
with HDF5 v1.8
parent 365c17a3
No related branches found
No related tags found
No related merge requests found
...@@ -60,6 +60,8 @@ class Conduit(Package): ...@@ -60,6 +60,8 @@ class Conduit(Package):
# variants for comm and i/o # variants for comm and i/o
variant("mpi", default=True, description="Build Conduit MPI Support") variant("mpi", default=True, description="Build Conduit MPI Support")
variant("hdf5", default=True, description="Build Conduit HDF5 support") variant("hdf5", default=True, description="Build Conduit HDF5 support")
variant("hdf5_compat", default=True,
description="Build Conduit with HDF5 1.8.x (compatibility mode)")
variant("silo", default=False, description="Build Conduit Silo support") variant("silo", default=False, description="Build Conduit Silo support")
variant("adios", default=False, description="Build Conduit ADIOS support") variant("adios", default=False, description="Build Conduit ADIOS support")
...@@ -97,8 +99,10 @@ class Conduit(Package): ...@@ -97,8 +99,10 @@ class Conduit(Package):
# #
# Use HDF5 1.8, for wider output compatibly # Use HDF5 1.8, for wider output compatibly
# variants reflect we are not using hdf5's mpi or fortran features. # variants reflect we are not using hdf5's mpi or fortran features.
depends_on("hdf5@1.8.19:1.8.999~cxx~mpi~fortran", when="+hdf5+shared") depends_on("hdf5@1.8.19:1.8.999~cxx~mpi~fortran", when="+hdf5+hdf5_compat+shared")
depends_on("hdf5@1.8.19:1.8.999~shared~cxx~mpi~fortran", when="+hdf5~shared") depends_on("hdf5@1.8.19:1.8.999~shared~cxx~mpi~fortran", when="+hdf5+hdf5_compat~shared")
depends_on("hdf5~cxx~mpi~fortran", when="+hdf5~hdf5_compat+shared")
depends_on("hdf5~shared~cxx~mpi~fortran", when="+hdf5~hdf5_compat~shared")
# we are not using silo's fortran features # we are not using silo's fortran features
depends_on("silo~fortran", when="+silo+shared") depends_on("silo~fortran", when="+silo+shared")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment