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
This commit is contained in:
parent
365c17a3d5
commit
a88b540723
1 changed files with 6 additions and 2 deletions
|
@ -60,6 +60,8 @@ class Conduit(Package):
|
|||
# variants for comm and i/o
|
||||
variant("mpi", default=True, description="Build Conduit MPI 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("adios", default=False, description="Build Conduit ADIOS support")
|
||||
|
||||
|
@ -97,8 +99,10 @@ class Conduit(Package):
|
|||
#
|
||||
# Use HDF5 1.8, for wider output compatibly
|
||||
# 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~shared~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+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
|
||||
depends_on("silo~fortran", when="+silo+shared")
|
||||
|
|
Loading…
Reference in a new issue