summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/h5bench/package.py21
1 files changed, 13 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/h5bench/package.py b/var/spack/repos/builtin/packages/h5bench/package.py
index 2b73dc4e6f..88fe2f6000 100644
--- a/var/spack/repos/builtin/packages/h5bench/package.py
+++ b/var/spack/repos/builtin/packages/h5bench/package.py
@@ -17,28 +17,32 @@ class H5bench(CMakePackage):
version("latest", branch="master", submodules=True)
version("develop", branch="develop", submodules=True)
- version("1.2", commit="866af6777573d20740d02acc47a9080de093e4ad", submodules=True)
- version("1.1", commit="1276530a128025b83a4d9e3814a98f92876bb5c4", submodules=True)
- version("1.0", commit="9d3438c1bc66c5976279ef203bd11a8d48ade724", submodules=True)
+ version("1.3", commit="ec75a466a77c337b4252c0afe1055c7fbe841e16", submodules=True)
+ version(
+ "1.2", commit="866af6777573d20740d02acc47a9080de093e4ad", submodules=True, deprecated=True
+ )
+ version(
+ "1.1", commit="1276530a128025b83a4d9e3814a98f92876bb5c4", submodules=True, deprecated=True
+ )
+ version(
+ "1.0", commit="9d3438c1bc66c5976279ef203bd11a8d48ade724", submodules=True, deprecated=True
+ )
variant("metadata", default=False, when="@1.2:", description="Enables metadata benchmark")
variant("amrex", default=False, when="@1.2:", description="Enables AMReX benchmark")
variant("exerciser", default=False, when="@1.2:", description="Enables exerciser benchmark")
variant("openpmd", default=False, when="@1.2:", description="Enables OpenPMD benchmark")
variant("e3sm", default=False, when="@1.2:", description="Enables E3SM benchmark")
+ variant("async", default=False, when="@1.2:", description="Enables ASYNC VOL Connector")
variant("all", default=False, when="@1.2:", description="Enables all h5bench benchmarks")
depends_on("cmake@3.10:", type="build")
depends_on("mpi")
depends_on("hdf5+mpi@1.12.0:1,develop-1.12:")
+ depends_on("hdf5-vol-async@1.3", when="+async")
depends_on("parallel-netcdf", when="+e3sm")
depends_on("parallel-netcdf", when="+all")
- @run_after("install")
- def install_config(self):
- install_tree("h5bench_patterns/sample_config", self.prefix.share.patterns)
- install("metadata_stress/hdf5_iotest.ini", self.prefix.share)
-
def setup_build_environment(self, env):
env.set("HDF5_HOME", self.spec["hdf5"].prefix)
@@ -50,6 +54,7 @@ class H5bench(CMakePackage):
self.define_from_variant("H5BENCH_OPENPMD", "openpmd"),
self.define_from_variant("H5BENCH_E3SM", "e3sm"),
self.define_from_variant("H5BENCH_ALL", "all"),
+ self.define_from_variant("WITH_ASYNC_VOL", "async"),
]
return args