Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GDAL] Use NetCDF and HDF5 when available. #5466

Merged
merged 4 commits into from
Sep 11, 2022

Conversation

evetion
Copy link
Contributor

@evetion evetion commented Sep 11, 2022

@visr

Fixes #4950 (at least partially).

Uses the same approach as #5383, by only using NetCDF and HDF5 on the platforms where they are available. While this introduces a disparity between platforms, it helps the most common platforms (Windows, macOS, Linux gnu).

Platforms without HDF5 and NetCDF

  • FreeBSD
  • Linux
    • musl
    • i686
    • arm
    • powerpc

G/GDAL/build_tarballs.jl Outdated Show resolved Hide resolved
G/GDAL/build_tarballs.jl Outdated Show resolved Hide resolved
G/GDAL/build_tarballs.jl Outdated Show resolved Hide resolved
@evetion evetion marked this pull request as ready for review September 11, 2022 12:43
G/GDAL/build_tarballs.jl Outdated Show resolved Hide resolved
Comment on lines 110 to 111
Dependency("NetCDF_jll"; compat="400.902.5"),
Dependency("HDF5_jll"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since these packages aren't available on all platforms, I'd prefer to use them only when available, which would also clear the dozens of warnings about these packages not being available: https://dev.azure.com/JuliaPackaging/Yggdrasil/_build/results?buildId=22093&view=results. Filtering them properly though is a bit tricky, but I don't have the time to do it now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why GDAL is not build with NetCDF+HDF dependencies?
3 participants