h5cpp: New package (#14501)
This commit is contained in:
parent
4b1c356a27
commit
8ffb9605d7
28
var/spack/repos/builtin/packages/h5cpp/package.py
Normal file
28
var/spack/repos/builtin/packages/h5cpp/package.py
Normal 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']
|
Loading…
Reference in New Issue
Block a user