NetCDF package: update constraints on hdf5 mpi support (#10788)
Update NetCDF to require building hdf5 without mpi when NetCDF itself is built without mpi support.
This commit is contained in:
parent
35daaa440f
commit
c19df8be5d
@ -103,7 +103,8 @@ def url_for_version(self, version):
|
||||
|
||||
# High-level API of HDF5 1.8.9 or later is required for netCDF-4 support:
|
||||
# http://www.unidata.ucar.edu/software/netcdf/docs/getting_and_building_netcdf.html
|
||||
depends_on('hdf5@1.8.9:+hl')
|
||||
depends_on('hdf5@1.8.9:+hl~mpi', when='~mpi')
|
||||
depends_on('hdf5@1.8.9:+hl+mpi', when='+mpi')
|
||||
|
||||
# Starting version 4.4.0, it became possible to disable parallel I/O even
|
||||
# if HDF5 supports it. For previous versions of the library we need
|
||||
|
Loading…
Reference in New Issue
Block a user