summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/h5cpp/package.py28
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']