diff options
author | Erik Schnetter <schnetter@gmail.com> | 2020-01-14 18:48:49 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2020-01-14 17:48:49 -0600 |
commit | 8ffb9605d70060c909212e1b80ed4df1f1938109 (patch) | |
tree | 5fd155c240f80aba0b210d300918cd47376ad3ab | |
parent | 4b1c356a27adc68e62d801986e67ef60336685db (diff) | |
download | spack-8ffb9605d70060c909212e1b80ed4df1f1938109.tar.gz spack-8ffb9605d70060c909212e1b80ed4df1f1938109.tar.bz2 spack-8ffb9605d70060c909212e1b80ed4df1f1938109.tar.xz spack-8ffb9605d70060c909212e1b80ed4df1f1938109.zip |
h5cpp: New package (#14501)
-rw-r--r-- | var/spack/repos/builtin/packages/h5cpp/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/h5cpp/package.py b/var/spack/repos/builtin/packages/h5cpp/package.py new file mode 100644 index 0000000000..1e65677e02 --- /dev/null +++ b/var/spack/repos/builtin/packages/h5cpp/package.py @@ -0,0 +1,28 @@ +# Copyright 2013-2020 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 H5cpp(CMakePackage): + """Easy to use HDF5 C++ templates for Serial and Paralell HDF5""" + + homepage = "http://h5cpp.org" + # url = "https://github.com/steven-varga/h5cpp" + git = "https://github.com/steven-varga/h5cpp.git" + + maintainers = ['eschnett'] + + version('master', branch='master') + + variant('mpi', default=True, description='Include MPI support') + + depends_on('cmake @3.10:', type='build') + depends_on('hdf5 @1.10.4:') + depends_on('hdf5 +mpi', when='+mpi') + depends_on('mpi', when='+mpi') + + def cmake_args(self): + return ['-DH5CPP_BUILD_TESTS=OFF'] |