hdf5-vol-async: better specify dependency condition (#40882)

This commit is contained in:
Massimiliano Culpo 2023-11-04 20:31:52 +01:00 committed by GitHub
parent ff8cd597e0
commit f51dad976e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -51,6 +51,8 @@ spack:
require: "@3.4.4"
vtk-m:
require: "+examples"
visit:
require: "~gui"
cuda:
version: [11.8.0]
paraview:

View file

@ -35,9 +35,8 @@ class Hdf5VolAsync(CMakePackage):
depends_on("hdf5@1.14.0: +mpi +threadsafe")
# Require MPI_THREAD_MULTIPLE.
depends_on("openmpi +thread_multiple", when="^openmpi@:2")
depends_on("openmpi", when="^openmpi@3:")
depends_on("mvapich2 threads=multiple", when="^mvapich2")
depends_on("openmpi +thread_multiple", when="^[virtuals=mpi] openmpi@:2")
depends_on("mvapich2 threads=multiple", when="^[virtuals=mpi] mvapich2")
def setup_run_environment(self, env):
env.prepend_path("HDF5_PLUGIN_PATH", self.spec.prefix.lib)