diff options
author | Simon Pintarelli <1237199+simonpintarelli@users.noreply.github.com> | 2020-08-01 23:26:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-01 16:26:41 -0500 |
commit | 75f34126fcbd44149ea9784ed29e3f6a1026685c (patch) | |
tree | a4992137548cb97ac33c95652de3d2b227a9ee00 /var | |
parent | b0eb771b19d837f60138608453c22378a0dc827b (diff) | |
download | spack-75f34126fcbd44149ea9784ed29e3f6a1026685c.tar.gz spack-75f34126fcbd44149ea9784ed29e3f6a1026685c.tar.bz2 spack-75f34126fcbd44149ea9784ed29e3f6a1026685c.tar.xz spack-75f34126fcbd44149ea9784ed29e3f6a1026685c.zip |
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>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-h5py/package.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-h5py/package.py b/var/spack/repos/builtin/packages/py-h5py/package.py index e652849fd1..2b7d34cc4b 100644 --- a/var/spack/repos/builtin/packages/py-h5py/package.py +++ b/var/spack/repos/builtin/packages/py-h5py/package.py @@ -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 |