summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Wibking <ben@wibking.com>2023-12-28 05:31:50 -0500
committerGitHub <noreply@github.com>2023-12-28 11:31:50 +0100
commit94d81600d912e3861052f85c9bda08b81ce09e84 (patch)
tree6306090f8706575b753f88b1722950709752eda0
parent6d20c54eef24187207dbdf0f4e1d3e01b6c2f844 (diff)
downloadspack-94d81600d912e3861052f85c9bda08b81ce09e84.tar.gz
spack-94d81600d912e3861052f85c9bda08b81ce09e84.tar.bz2
spack-94d81600d912e3861052f85c9bda08b81ce09e84.tar.xz
spack-94d81600d912e3861052f85c9bda08b81ce09e84.zip
visit: enable ADIOS2 support when +adios2 in spec (#41750)
-rw-r--r--var/spack/repos/builtin/packages/visit/package.py5
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(
[