summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/hdf5-vol-external-passthrough/package.py
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2021-11-23 09:06:48 -0600
committerGitHub <noreply@github.com>2021-11-23 10:06:48 -0500
commit8476a2e4a13524dc864965e13a49ed740c62ba0b (patch)
treef7f964ab66c8137eb468c7c0c5a9da197f93a7da /var/spack/repos/builtin/packages/hdf5-vol-external-passthrough/package.py
parent2104f1273a32669472316a59a33b6ec4bb2d6d70 (diff)
downloadspack-8476a2e4a13524dc864965e13a49ed740c62ba0b.tar.gz
spack-8476a2e4a13524dc864965e13a49ed740c62ba0b.tar.bz2
spack-8476a2e4a13524dc864965e13a49ed740c62ba0b.tar.xz
spack-8476a2e4a13524dc864965e13a49ed740c62ba0b.zip
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.
Diffstat (limited to 'var/spack/repos/builtin/packages/hdf5-vol-external-passthrough/package.py')
-rw-r--r--var/spack/repos/builtin/packages/hdf5-vol-external-passthrough/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5-vol-external-passthrough/package.py b/var/spack/repos/builtin/packages/hdf5-vol-external-passthrough/package.py
new file mode 100644
index 0000000000..ba06dad2d4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hdf5-vol-external-passthrough/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 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