netcdf-c: add libxml2 when +dap (#34178)

This commit is contained in:
Brian Vanderwende 2022-12-12 03:04:38 -07:00 committed by GitHub
parent dd7b2deb47
commit 65c914fff7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,6 +98,10 @@ class NetcdfC(AutotoolsPackage):
depends_on("curl@7.18.0:", when="+dap")
# depends_on("curl@7.18.0:", when='+cdmremote')
# Need to include libxml2 when using DAP in 4.9.0 and newer to build
# https://github.com/Unidata/netcdf-c/commit/53464e89635a43b812b5fec5f7abb6ff34b9be63
depends_on("libxml2", when="@4.9.0:+dap")
depends_on("parallel-netcdf", when="+parallel-netcdf")
# We need to build with MPI wrappers if any of the two