-
Notifications
You must be signed in to change notification settings - Fork 7.5k
[netcdf-c] Update to 4.8.1, revise features #21239
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
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
6941e69
Consolidate netcdf-c ZLIB patching
dg0yt 78f85b3
Update to 4.8.1, refresh patches
dg0yt 709b74d
Resolve parameter warning
dg0yt 456e37a
Decouple netcdf-4 feature from hdf5
dg0yt 234c14e
Expose NCZarr features
dg0yt 0763b3a
Break vcpkg CI cascade
dg0yt 050bfd2
Fix hdf5 szip support detection for static linkage
dg0yt 6596ddc
Allow curl, hdf5, libzip with minimal dependencies
dg0yt f968d93
Disable fatal warnings on uwp
dg0yt 3b313c8
Update versions
dg0yt 08cda6c
Merge branch 'master' of https://github.com/microsoft/vcpkg
dg0yt ce03c5b
Fix libzip dependency
dg0yt 567c3aa
Fix and simplify szip config patch
dg0yt be1e29d
Revert nczarr-s3 feature for now
dg0yt db58f69
Update versions
dg0yt 4b7952c
[skip actions] CI
dg0yt 03f3d52
[skip actions] Debug ci failure
dg0yt 3b4c4c6
Revert "[skip actions] Debug ci failure"
dg0yt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| index b93a141..c3763a7 100644 | ||
| --- a/CMakeLists.txt | ||
| +++ b/CMakeLists.txt | ||
| @@ -957,7 +957,14 @@ OPTION(ENABLE_DAP_REMOTE_TESTS "Enable DAP remote tests." ON) | ||
| SET(REMOTETESTSERVERS "remotetest.unidata.ucar.edu" CACHE STRING "test servers to use for remote test") | ||
|
|
||
| # See if we have libzip | ||
| -FIND_PACKAGE(Zip) | ||
| +if(ENABLE_NCZARR_ZIP) | ||
| + find_package(libzip CONFIG REQUIRED) | ||
| + set(Zip_LIBRARIES libzip::zip) | ||
| + set(Zip_FOUND TRUE) | ||
| +else() | ||
| + set(Zip_LIBRARIES "") | ||
| + set(Zip_FOUND FALSE) | ||
| +endif() | ||
|
|
||
| # Define a test flag for have curl library | ||
| IF(Zip_FOUND) | ||
| diff --git a/netCDFConfig.cmake.in b/netCDFConfig.cmake.in | ||
| index b3be259..72b4b25 100644 | ||
| --- a/netCDFConfig.cmake.in | ||
| +++ b/netCDFConfig.cmake.in | ||
| @@ -15,6 +15,9 @@ set(netCDF_LIBRARIES netCDF::netcdf) | ||
| include(CMakeFindDependencyMacro) | ||
| find_dependency(HDF5 CONFIG) | ||
| find_dependency(CURL CONFIG) | ||
| +if(@ENABLE_NCZARR_ZIP@) | ||
| + find_dependency(libzip CONFIG) | ||
| +endif() | ||
| include("${CMAKE_CURRENT_LIST_DIR}/netCDFTargets.cmake") | ||
|
|
||
| # Compiling Options |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.