From 94d81600d912e3861052f85c9bda08b81ce09e84 Mon Sep 17 00:00:00 2001 From: Ben Wibking Date: Thu, 28 Dec 2023 05:31:50 -0500 Subject: visit: enable ADIOS2 support when +adios2 in spec (#41750) --- var/spack/repos/builtin/packages/visit/package.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'var') 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( [ -- cgit v1.2.3-70-g09d2