From 8a836213f7466de51c6d3d18d1a5ba74bb28de4a Mon Sep 17 00:00:00 2001 From: Larry Knox Date: Tue, 9 Nov 2021 09:31:34 -0600 Subject: 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. --- .../builtin/packages/hdf5-vol-async/package.py | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 var/spack/repos/builtin/packages/hdf5-vol-async/package.py diff --git a/var/spack/repos/builtin/packages/hdf5-vol-async/package.py b/var/spack/repos/builtin/packages/hdf5-vol-async/package.py new file mode 100644 index 0000000000..c1ecfc4c85 --- /dev/null +++ b/var/spack/repos/builtin/packages/hdf5-vol-async/package.py @@ -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 -- cgit v1.2.3-70-g09d2