diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2022-01-04 11:24:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-04 02:24:37 -0800 |
commit | dce4f161d4cebf95cd604cc1fbca284ea0e9c622 (patch) | |
tree | e6da93e548e9e936a77cf15f1a726874f36d9271 /var | |
parent | ffc3272a2b5e1533c1002e8172145d01075910cb (diff) | |
download | spack-dce4f161d4cebf95cd604cc1fbca284ea0e9c622.tar.gz spack-dce4f161d4cebf95cd604cc1fbca284ea0e9c622.tar.bz2 spack-dce4f161d4cebf95cd604cc1fbca284ea0e9c622.tar.xz spack-dce4f161d4cebf95cd604cc1fbca284ea0e9c622.zip |
Drop preferred hdf5 version (#28091)
* Drop preferred hdf5 version
* Fix conduit
* Add compat bound for silo on hdf5
* Update var/spack/repos/builtin/packages/conduit/package.py
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* hdf5 <= 1.10 for conduit <= 0.7
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/conduit/package.py | 4 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/hdf5/package.py | 5 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/silo/package.py | 1 |
3 files changed, 6 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/conduit/package.py b/var/spack/repos/builtin/packages/conduit/package.py index 9132a8aef0..b7b293f0b9 100644 --- a/var/spack/repos/builtin/packages/conduit/package.py +++ b/var/spack/repos/builtin/packages/conduit/package.py @@ -123,6 +123,10 @@ class Conduit(CMakePackage): depends_on("hdf5@1.8.19:1.8~shared~cxx", when="+hdf5+hdf5_compat~shared") depends_on("hdf5~cxx", when="+hdf5~hdf5_compat+shared") depends_on("hdf5~shared~cxx", when="+hdf5~hdf5_compat~shared") + + # conduit uses a <=1.10 api version. + depends_on("hdf5@:1.10", when="@:0.7 +hdf5") + # we need to hand this to conduit so it can properly # handle downstream linking of zlib reqed by hdf5 depends_on("zlib", when="+hdf5") diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py index 04138b8108..bdb5056ffa 100644 --- a/var/spack/repos/builtin/packages/hdf5/package.py +++ b/var/spack/repos/builtin/packages/hdf5/package.py @@ -38,10 +38,7 @@ class Hdf5(CMakePackage): version('1.13.0', sha256='3049faf900f0c52e09ea4cddfb83af057615f2fc1cc80eb5202dd57b09820115') version('1.12.1', sha256='79c66ff67e666665369396e9c90b32e238e501f345afd2234186bfb8331081ca') version('1.12.0', sha256='a62dcb276658cb78e6795dd29bf926ed7a9bc4edf6e77025cd2c689a8f97c17a') - # HDF5 1.12 broke API compatibility, so we currently prefer the latest - # 1.10 release. packages that want later versions of HDF5 should specify, - # e.g., depends_on("hdf5@1.12:") to get 1.12 or higher. - version('1.10.8', sha256='d341b80d380dd763753a0ebe22915e11e87aac4e44a084a850646ff934d19c80', preferred=True) + version('1.10.8', sha256='d341b80d380dd763753a0ebe22915e11e87aac4e44a084a850646ff934d19c80') version('1.10.7', sha256='7a1a0a54371275ce2dfc5cd093775bb025c365846512961e7e5ceaecb437ef15') version('1.10.6', sha256='5f9a3ee85db4ea1d3b1fa9159352aebc2af72732fc2f58c96a3f0768dba0e9aa') version('1.10.5', sha256='6d4ce8bf902a97b050f6f491f4268634e252a63dadd6656a1a9be5b7b7726fa8') diff --git a/var/spack/repos/builtin/packages/silo/package.py b/var/spack/repos/builtin/packages/silo/package.py index 0828c1ed7e..eceb3e2f0b 100644 --- a/var/spack/repos/builtin/packages/silo/package.py +++ b/var/spack/repos/builtin/packages/silo/package.py @@ -59,6 +59,7 @@ class Silo(AutotoolsPackage): patch('H5EPR_SEMI_COLON.patch', when='@:4.11 ^hdf5@1.10.8:1.10,1.12.1:1.12') conflicts('hdf5@1.10.8:', when="@:4.10.2") + conflicts('hdf5@1.13.0:', when="@:4.11") conflicts('+hzip', when="@4.11-bsd") conflicts('+fpzip', when="@4.11-bsd") conflicts('+hzip', when="@4.10.2-bsd") |