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
This commit is contained in:
Jean Luca Bez 2022-06-13 19:58:16 -07:00 committed by GitHub
parent cdfbe2c25d
commit 04529fbe80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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