Skip to content
Snippets Groups Projects
Unverified Commit 75f34126 authored by Simon Pintarelli's avatar Simon Pintarelli Committed by GitHub
Browse files

h5py does not correctly recognize hdf5 version on Cray (#17831)


* h5py: explicitly specify version

hdf5@1.10.5 on Cray is wrongly detected as 1.8.4.

* Update var/spack/repos/builtin/packages/py-h5py/package.py

Thanks. Also had this first, then CI was complaining about line length ...

Co-authored-by: default avatarAdam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: default avatarAdam J. Stewart <ajstewart426@gmail.com>
parent b0eb771b
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,8 @@ class PyH5py(PythonPackage):
phases = ['configure', 'install']
def configure(self, spec, prefix):
self.setup_py('configure', '--hdf5={0}'.format(spec['hdf5'].prefix))
self.setup_py('configure', '--hdf5={0}'.format(spec['hdf5'].prefix),
'--hdf5-version={0}'.format(spec['hdf5'].version))
if '+mpi' in spec:
env['CC'] = spec['mpi'].mpicc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment