visit: enable ADIOS2 support when +adios2 in spec (#41750)

This commit is contained in:
Ben Wibking 2023-12-28 05:31:50 -05:00 committed by GitHub
parent 6d20c54eef
commit 94d81600d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(
[ [