visit: enable ADIOS2 support when +adios2 in spec (#41750)
This commit is contained in:
parent
6d20c54eef
commit
94d81600d9
1 changed files with 4 additions and 1 deletions
|
@ -167,7 +167,7 @@ class Visit(CMakePackage):
|
||||||
depends_on("mfem+shared+exceptions+fms+conduit", when="+mfem")
|
depends_on("mfem+shared+exceptions+fms+conduit", when="+mfem")
|
||||||
depends_on("libfms@0.2:", when="+mfem")
|
depends_on("libfms@0.2:", when="+mfem")
|
||||||
|
|
||||||
depends_on("adios2@2.6:", when="+adios2")
|
depends_on("adios2@2.7.1", when="+adios2")
|
||||||
depends_on("adios2+hdf5", when="+adios2+hdf5")
|
depends_on("adios2+hdf5", when="+adios2+hdf5")
|
||||||
depends_on("adios2~hdf5", when="+adios2~hdf5")
|
depends_on("adios2~hdf5", when="+adios2~hdf5")
|
||||||
depends_on("adios2+mpi", when="+adios2+mpi")
|
depends_on("adios2+mpi", when="+adios2+mpi")
|
||||||
|
@ -322,6 +322,9 @@ def cmake_args(self):
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if "+adios2" in spec:
|
||||||
|
args.extend([self.define("VISIT_ADIOS2_DIR", spec["adios2"].prefix)])
|
||||||
|
|
||||||
if "+mfem" in spec:
|
if "+mfem" in spec:
|
||||||
args.extend(
|
args.extend(
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in a new issue