Add hdf5-vol-async package. (#26874)

* Add hdf5-vol-async package.
Add HDF5 1.13.0-rc6 version for building vol-async.

* Style test required another blank line.

* Change hdf5 dependency to develop-1.13+mpi+threadsafe.

* Update args for hdf5-vol-async.
This commit is contained in:
Larry Knox 2021-11-09 09:31:34 -06:00 committed by GitHub
parent 6e6847d9c7
commit 8a836213f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,26 @@
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
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']
version('v1.0')
depends_on('argobots@main')
depends_on('hdf5@develop-1.13+mpi+threadsafe')
def cmake_args(self):
"""Populate cmake arguments for HDF5 VOL."""
args = [
self.define('BUILD_SHARED_LIBS:BOOL', True),
self.define('BUILD_TESTING:BOOL=ON', self.run_tests)
]
return args