hdf5-vol-log: depends on mpi (#38693)

From the configure.ac file:

> H5VL_log is built on top of MPI. Configure option --without-mpi or
> --with-mpi=no should not be used. Abort.

This currently fails to build in the oneAPI pipeline on `develop`
This commit is contained in:
Harmen Stoppels 2023-07-03 20:08:40 +02:00 committed by GitHub
parent a6ebff3a2e
commit 4654db54c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,7 @@ class Hdf5VolLog(AutotoolsPackage):
version("1.4.0", tag="logvol.1.4.0")
depends_on("hdf5@1.14.0:", when="@1.4.0:")
depends_on("mpi")
depends_on("autoconf", type="build")
depends_on("automake", type="build")
depends_on("libtool", type="build")
@ -29,9 +30,8 @@ def setup_run_environment(self, env):
env.prepend_path("HDF5_PLUGIN_PATH", self.spec.prefix.lib)
def configure_args(self):
args = []
args.append("--enable-shared")
args.append("--enable-zlib")
return args
return [
"--enable-shared",
"--enable-zlib",
"--with-mpi={}".format(self.spec["mpi"].prefix),
]