From 04529fbe8065c9956e0d647a97786ff0d19e7943 Mon Sep 17 00:00:00 2001 From: Jean Luca Bez Date: Mon, 13 Jun 2022 19:58:16 -0700 Subject: [PATCH] Update HDF5 VOL async (#31011) * Update h5bench maintainers and versions * Include version 1.1 for h5bench * Correct release hash and set default version * Update .tar.gz version * Update HDF5 VOL async version and environment variable syntax --- var/spack/repos/builtin/packages/hdf5-vol-async/package.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/var/spack/repos/builtin/packages/hdf5-vol-async/package.py b/var/spack/repos/builtin/packages/hdf5-vol-async/package.py index 37afa1b63e..a201aea576 100644 --- a/var/spack/repos/builtin/packages/hdf5-vol-async/package.py +++ b/var/spack/repos/builtin/packages/hdf5-vol-async/package.py @@ -15,16 +15,17 @@ class Hdf5VolAsync(CMakePackage): maintainers = ['hyoklee', 'houjun', 'jeanbez'] version('develop', branch='develop') + version('1.2', tag='v1.2') version('1.1', tag='v1.1') version('1.0', tag='v1.0') depends_on('mpi') depends_on('argobots@main') - depends_on('hdf5@develop-1.13+mpi+threadsafe') + depends_on('hdf5@1.13: +mpi +threadsafe') def setup_run_environment(self, env): env.set('HDF5_PLUGIN_PATH', self.spec.prefix) - vol_connector = "async" + vol_connector = "async under_vol=0;under_info=[]" env.set('HDF5_VOL_CONNECTOR', vol_connector) env.set('MPICH_MAX_THREAD_SAFETY', 'multiple') @@ -32,7 +33,7 @@ def cmake_args(self): """Populate cmake arguments for HDF5 VOL.""" args = [ self.define('CMAKE_C_COMPILER', self.spec['mpi'].mpicc), - self.define('BUILD_SHARED_LIBS:BOOL', True), + self.define('BUILD_SHARED_LIBS', True), self.define('BUILD_TESTING', self.run_tests) ] return args