diff options
-rw-r--r-- | var/spack/repos/builtin/packages/visit/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/visit/package.py b/var/spack/repos/builtin/packages/visit/package.py index d26f8b6fa0..fa1776800c 100644 --- a/var/spack/repos/builtin/packages/visit/package.py +++ b/var/spack/repos/builtin/packages/visit/package.py @@ -167,7 +167,7 @@ class Visit(CMakePackage): depends_on("mfem+shared+exceptions+fms+conduit", 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+mpi", when="+adios2+mpi") @@ -322,6 +322,9 @@ class Visit(CMakePackage): ] ) + if "+adios2" in spec: + args.extend([self.define("VISIT_ADIOS2_DIR", spec["adios2"].prefix)]) + if "+mfem" in spec: args.extend( [ |