Add hdf5-vol-external-passthrough package. (#27289)

* Add hdf5-vol-external-passthrough package.

* Add version v1.0 for vol-external-passthrough release.

* Remove incorrect comment.

* Add source url and checksum.  Update HDF5 minimum version.
This commit is contained in:
Larry Knox 2021-11-23 09:06:48 -06:00 committed by GitHub
parent 2104f1273a
commit 8476a2e4a1
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 Hdf5VolExternalPassthrough(CMakePackage):
"""Package for HDF5 external pass-through VOL."""
homepage = "https://sdm.lbl.gov/"
url = "https://github.com/hpc-io/vol-external-passthrough/archive/refs/tags/v1.0.tar.gz"
git = "https://github.com/hpc-io/vol-external-passthrough.git"
maintainers = ['hyoklee']
version('develop', branch='develop')
version('1.0', sha256='99a06d1c31451f8f0c8c10fec112410cda1f951f0eda1bd0ca999d6b35cf7740')
depends_on('hdf5@1.13.0:')
def cmake_args(self):
args = [
self.define('BUILD_SHARED_LIBS:BOOL', True),
self.define('BUILD_TESTING:BOOL=ON', self.run_tests)
]
return args