diff options
author | Seth R. Johnson <johnsonsr@ornl.gov> | 2022-06-14 07:42:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 13:42:48 +0200 |
commit | 19ea24d2bd464b8025c11a5bd8c26585e033d73d (patch) | |
tree | f5f112737d8c5e38c7f32a31235e9e0f20be04a0 | |
parent | 83efea32f4105fbed0090da2401638c6da346763 (diff) | |
download | spack-19ea24d2bd464b8025c11a5bd8c26585e033d73d.tar.gz spack-19ea24d2bd464b8025c11a5bd8c26585e033d73d.tar.bz2 spack-19ea24d2bd464b8025c11a5bd8c26585e033d73d.tar.xz spack-19ea24d2bd464b8025c11a5bd8c26585e033d73d.zip |
hdf5: add conflict for broken @1.8.22+fortran+mpi (#31111)
-rw-r--r-- | var/spack/repos/builtin/packages/hdf5/package.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py index b38a08557c..45e00c0f6b 100644 --- a/var/spack/repos/builtin/packages/hdf5/package.py +++ b/var/spack/repos/builtin/packages/hdf5/package.py @@ -73,7 +73,8 @@ class Hdf5(CMakePackage): variant('hl', default=False, description='Enable the high-level library') variant('cxx', default=False, description='Enable C++ support') variant('fortran', default=False, description='Enable Fortran support') - variant('java', default=False, description='Enable Java support') + variant('java', when='@1.10:', default=False, + description='Enable Java support') variant('threadsafe', default=False, description='Enable thread-safe capabilities') variant('tools', default=True, description='Enable building tools') @@ -104,13 +105,12 @@ class Hdf5(CMakePackage): conflicts('api=v18', when='@1.6.0:1.6', msg='v18 is not compatible with this release') - # The Java wrappers and associated libhdf5_java library - # were first available in 1.10 - conflicts('+java', when='@:1.9') # The Java wrappers cannot be built without shared libs. conflicts('+java', when='~shared') # Fortran fails built with shared for old HDF5 versions conflicts('+fortran', when='+shared@:1.8.15') + # See https://github.com/spack/spack/issues/31085 + conflicts('+fortran+mpi', when='@1.8.22') # There are several officially unsupported combinations of the features: # 1. Thread safety is not guaranteed via high-level C-API but in some cases |