summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJean Luca Bez <jeanlucabez@gmail.com>2022-05-23 06:28:26 -0700
committerGitHub <noreply@github.com>2022-05-23 09:28:26 -0400
commit3d2ff57e7b4cbe1e97e09b23d8687cfab5babc00 (patch)
tree62239f6fbbd0676a4161708d9f78676c3a1150a8 /var
parent3bc656808c6453f1f76353f32885719cfaba4eb4 (diff)
downloadspack-3d2ff57e7b4cbe1e97e09b23d8687cfab5babc00.tar.gz
spack-3d2ff57e7b4cbe1e97e09b23d8687cfab5babc00.tar.bz2
spack-3d2ff57e7b4cbe1e97e09b23d8687cfab5babc00.tar.xz
spack-3d2ff57e7b4cbe1e97e09b23d8687cfab5babc00.zip
hdf5-vol-async: update new version, tests, and runtime envs (#30713)
* Update h5bench maintainers and versions * Include version 1.1 for h5bench * Correct release hash and set default version * Update .tar.gz version * Include new version and update runtime * Update year * Update package.py * Update package.py
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hdf5-vol-async/package.py26
1 files changed, 21 insertions, 5 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 3fae9e33be..92684783c4 100644
--- a/var/spack/repos/builtin/packages/hdf5-vol-async/package.py
+++ b/var/spack/repos/builtin/packages/hdf5-vol-async/package.py
@@ -9,18 +9,34 @@ from spack import *
class Hdf5VolAsync(CMakePackage):
"""This package enables asynchronous IO in HDF5."""
- homepage = "https://sdm.lbl.gov/"
- git = "https://github.com/hpc-io/vol-async"
- maintainers = ['hyoklee']
+ homepage = "https://hdf5-vol-async.readthedocs.io"
+ git = "https://github.com/hpc-io/vol-async.git"
- version('v1.0')
+ maintainers = ['hyoklee', 'houjun', 'jeanbez']
+
+ version('1.0', tag='v1.0')
+ version('1.1', tag='v1.1')
+
+ depends_on('mpi')
depends_on('argobots@main')
depends_on('hdf5@develop-1.13+mpi+threadsafe')
+ def setup_run_environment(self, env):
+ env.set('HDF5_PLUGIN_PATH', self.spec.prefix)
+ vol_connector = "async"
+ env.set('HDF5_VOL_CONNECTOR', vol_connector)
+ env.set('MPICH_MAX_THREAD_SAFETY', 'multiple')
+
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_TESTING:BOOL=ON', self.run_tests)
+ self.define('BUILD_TESTING', self.run_tests)
]
return args
+
+ def check(self):
+ if self.run_tests:
+ with working_dir(self.build_directory):
+ make("test")