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: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
b0eb771b19
commit
75f34126fc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user