h5cpp: New package (#14501)

This commit is contained in:
Erik Schnetter 2020-01-14 18:48:49 -05:00 committed by Adam J. Stewart
parent 4b1c356a27
commit 8ffb9605d7

View File

@ -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']