Skip to content
Snippets Groups Projects
Commit c19df8be authored by Greg Sjaardema's avatar Greg Sjaardema Committed by Peter Scheibel
Browse files

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.
parent 35daaa44
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment