diff options
author | Erik Schnetter <schnetter@gmail.com> | 2020-11-24 14:37:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-24 13:37:29 -0600 |
commit | 408824f365d26882801ce45d6522d43365312d96 (patch) | |
tree | 43a630bc34006ea57f9374ec1c922bac0d81a740 | |
parent | f6549849e5de0fdcf93fe6716be63a823d646c55 (diff) | |
download | spack-408824f365d26882801ce45d6522d43365312d96.tar.gz spack-408824f365d26882801ce45d6522d43365312d96.tar.bz2 spack-408824f365d26882801ce45d6522d43365312d96.tar.xz spack-408824f365d26882801ce45d6522d43365312d96.zip |
h5cpp: Correct checksum and build instructions (#20053)
* h5cpp: Correct checksum and build instructions
Closes https://github.com/spack/spack/issues/20046.
* h5cpp: Update to 1.10.4-6
* Update var/spack/repos/builtin/packages/h5cpp/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* h5cpp: Correct formatting
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r-- | var/spack/repos/builtin/packages/h5cpp/package.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/h5cpp/package.py b/var/spack/repos/builtin/packages/h5cpp/package.py index 373aa1303d..241def8cf0 100644 --- a/var/spack/repos/builtin/packages/h5cpp/package.py +++ b/var/spack/repos/builtin/packages/h5cpp/package.py @@ -16,7 +16,8 @@ class H5cpp(CMakePackage): maintainers = ['eschnett'] version('master', branch='master') - version('1.10.4-5', sha256='42d0ca1aaff1ead8998a26d892a51c12b1b89023382f191dc438bd0fa4513455') + version('1.10.4-6', sha256='4fbc8e777dc78a37ec2fe8c7b6a47114080ffe587f083e83a2046b5e794aef93') + version('1.10.4-5', sha256='661ccc4d76e081afc73df71ef11d027837d92dd1089185f3650afcaec9d418ec') variant('mpi', default=True, description='Include MPI support') @@ -26,4 +27,9 @@ class H5cpp(CMakePackage): depends_on('mpi', when='+mpi') def cmake_args(self): - return ['-DH5CPP_BUILD_TESTS=OFF'] + return [ + '-DHDF5_INCLUDE_DIRS=%s' % + self.spec['hdf5'].headers.directories[0], + '-DHDF5_LIBRARIES=%s' % self.spec['hdf5'].libs.directories[0], + '-DH5CPP_BUILD_TESTS=OFF', + ] |