Commit Graph

9939 Commits

Author SHA1 Message Date
Kyle Shores
d1334f7b88 Replace ENABLE_NCZARR with NETCDF_ENABLE_NCZARR 2024-03-18 15:52:19 -05:00
Kyle Shores
7f8ad2c250 Replace ENABLE_MMAP with NETCDF_ENABLE_MMAP 2024-03-18 15:52:17 -05:00
Kyle Shores
c6d35cf7e2 Replace ENABLE_METADATA_PERF_TESTS with NETCDF_ENABLE_METADATA_PERF_TESTS 2024-03-18 15:52:13 -05:00
Kyle Shores
dcdff98109 Replace ENABLE_LOGGING with NETCDF_ENABLE_LOGGING 2024-03-18 15:52:11 -05:00
Kyle Shores
9584b4fa3b Replace ENABLE_LIBXML2 with NETCDF_ENABLE_LIBXML2 2024-03-18 15:52:09 -05:00
Kyle Shores
ba2cf68597 Replace ENABLE_LARGE_FILE_TESTS with NETCDF_ENABLE_LARGE_FILE_TESTS 2024-03-18 15:52:07 -05:00
Kyle Shores
57600055d0 Replace ENABLE_LARGE_FILE_SUPPORT with NETCDF_ENABLE_LARGE_FILE_SUPPORT 2024-03-18 15:52:06 -05:00
Kyle Shores
39a04033d3 Replace ENABLE_INTERNAL_DOCS with NETCDF_ENABLE_INTERNAL_DOCS 2024-03-18 15:52:04 -05:00
Kyle Shores
c5f24df396 Replace ENABLE_HDF5 with NETCDF_ENABLE_HDF5 2024-03-18 15:52:02 -05:00
Kyle Shores
376f6b8314 Replace ENABLE_HDF4 with NETCDF_ENABLE_HDF4 2024-03-18 15:52:00 -05:00
Kyle Shores
e9f700befc Replace ENABLE_FSYNC with NETCDF_ENABLE_FSYNC 2024-03-18 15:51:59 -05:00
Kyle Shores
37ed3708c0 Replace ENABLE_FILTER_ZSTD with NETCDF_ENABLE_FILTER_ZSTD 2024-03-18 15:51:57 -05:00
Kyle Shores
0535edd9c1 Replace ENABLE_FILTER_TESTING with NETCDF_ENABLE_FILTER_TESTING 2024-03-18 15:51:55 -05:00
Kyle Shores
0be7d60580 Replace ENABLE_FILTER_SZIP with NETCDF_ENABLE_FILTER_SZIP 2024-03-18 15:51:53 -05:00
Kyle Shores
a45bd40620 Replace ENABLE_FILTER_BZ2 with NETCDF_ENABLE_FILTER_BZ2 2024-03-18 15:51:50 -05:00
Kyle Shores
68a126538c Replace ENABLE_FILTER_BLOSC with NETCDF_ENABLE_FILTER_BLOSC 2024-03-18 15:51:48 -05:00
Kyle Shores
e4f9e44db1 Replace ENABLE_FFIO with NETCDF_ENABLE_FFIO 2024-03-18 15:51:45 -05:00
Kyle Shores
08c9fb9a3f Replace ENABLE_FAILING_TESTS with NETCDF_ENABLE_FAILING_TESTS 2024-03-18 15:51:43 -05:00
Kyle Shores
1ca5d9c89b Replace ENABLE_EXTREME_NUMBERS with NETCDF_ENABLE_EXTREME_NUMBERS 2024-03-18 15:51:40 -05:00
Kyle Shores
cf90d63bf9 Replace ENABLE_EXTRA_TESTS with NETCDF_ENABLE_EXTRA_TESTS 2024-03-18 15:51:38 -05:00
Kyle Shores
6d1bae4de9 Replace ENABLE_EXTERNAL_SERVER_TESTS with NETCDF_ENABLE_EXTERNAL_SERVER_TESTS 2024-03-18 15:51:35 -05:00
Kyle Shores
ea56b21cd3 Replace ENABLE_EXAMPLE_TESTS with NETCDF_ENABLE_EXAMPLE_TESTS 2024-03-18 15:51:32 -05:00
Kyle Shores
086401f86f Replace ENABLE_EXAMPLES with NETCDF_ENABLE_EXAMPLES 2024-03-18 15:51:30 -05:00
Kyle Shores
7263727d49 Replace ENABLE_ERANGE_FILL with NETCDF_ENABLE_ERANGE_FILL 2024-03-18 15:51:27 -05:00
Kyle Shores
831bf665ce Replace ENABLE_DOXYGEN with NETCDF_ENABLE_DOXYGEN 2024-03-18 15:51:24 -05:00
Kyle Shores
ece5a776cb Replace ENABLE_DLL with NETCDF_ENABLE_DLL 2024-03-18 15:51:21 -05:00
Kyle Shores
9288a53be3 Replace ENABLE_DISKLESS with NETCDF_ENABLE_DISKLESS 2024-03-18 15:51:18 -05:00
Kyle Shores
d270aa8e93 Replace ENABLE_DAP with NETCDF_ENABLE_DAP 2024-03-18 15:51:14 -05:00
Kyle Shores
5bd28e2af4 Replace ENABLE_COVERAGE_TESTS with NETCDF_ENABLE_COVERAGE_TESTS 2024-03-18 15:51:12 -05:00
Kyle Shores
b2275b1f4f Replace ENABLE_CONVERSION_WARNINGS with NETCDF_ENABLE_CONVERSION_WARNINGS 2024-03-18 15:51:09 -05:00
Kyle Shores
2bce1e6776 Replace ENABLE_CDF5 with NETCDF_ENABLE_CDF5 2024-03-18 15:51:04 -05:00
Kyle Shores
b4eb8bf019 Replace ENABLE_BYTERANGE with NETCDF_ENABLE_BYTERANGE 2024-03-18 15:50:57 -05:00
Kyle Shores
eb489815ff Replace ENABLE_BENCHMARKS with NETCDF_ENABLE_BENCHMARKS 2024-03-18 15:50:09 -05:00
Kyle Shores
4b0611bf71 Replace ENABLE_BASH_SCRIPT_TESTING with NETCDF_ENABLE_BASH_SCRIPT_TESTING 2024-03-18 15:50:07 -05:00
Kyle Shores
e934438e14 replacing ENABLE_ATEXIT_FINALIZE 2024-03-18 15:30:20 -05:00
Kyle Shores
6d9726473b replacing DOXYGEN_ENABLE_TASKS 2024-03-18 15:29:56 -05:00
Kyle Shores
dc4830a632 replacing BUILD_UTILITIES 2024-03-18 15:29:24 -05:00
Ward Fisher
0f7558c7d5
Merge pull request #2888 from derobins/1_10_api_fix
Fix for H5Literate() callback versioning
2024-03-14 10:22:28 -06:00
Dana Robinson
c9bbf8f626
Fix typo and clarify comment 2024-03-13 13:43:17 -07:00
Dana Robinson
586d047d97 Merge branch '1_10_api_fix' of https://github.com/derobins/netcdf-c into 1_10_api_fix 2024-03-13 13:40:57 -07:00
Dana Robinson
ae85c34661 Update tst_h_files4.c to work with HDF5 1.8
HDF5 1.8 never defined H5_USE_18_API_DEFAULT
2024-03-13 13:40:02 -07:00
Dana Robinson
32f12d1c1b
Update tst_h_files4.c 2024-03-13 08:49:00 -07:00
Dana Robinson
a2dff313f7 Fix for H5Literate() callback versioning
The netCDF library supports many versions of HDF5, which handles API
compatibility via a set of API-call-specific macros. netCDF uses
H5Literate(), which was versioned in the 1.12.x maintenance line
in order to better support the virtual object layer (VOL).

h5_test/tst_h_files4.c failed to compile with certain compilers when the
HDF5 library was built using pre-VOL versions of the library- e.g., 1.10,
which can be configured with --with-default-api-version=110. This was due
to the API compatibility macros being used to select the 1.10 version of
H5Literate(), but not its callback function, which was set using a
`H5_VERSION_GE()` macro that does not take the compatibility macros into
consideration.

Fixing the problem involved removing the `H5_VERSION_GE()` macro and
letting the compatibility macros handle the versioning, and using the
`H5_USE_XXX_API_DEFAULT` symbols to protect the H5Oopen_by_addr() call
used in the callback (a new call that wasn't versioned, hence the
different protection mechanism).

Tested w/ HDF5's develop branch w/ both 1.14 and 1.10 API bindings

Fixes #2886 (4118 in HDF5's issue tracker)
2024-03-13 08:25:59 -07:00
Ward Fisher
b90e884fe1
Merge pull request #2885 from ZedThree/fix-ci-hdf5-version
CI: Fix version of HDF5 used in one-off test
2024-03-12 16:32:41 -06:00
Ward Fisher
50a3ce0927
Merge pull request #2841 from ZedThree/find_pnetcdf
Pull out `FindPNETCDF` CMake module
2024-03-12 16:30:29 -06:00
Peter Hill
83e184bc75
Link nc_test against third-party libraries
Ensures pnetcdf include directory is in path
2024-03-12 09:59:30 +00:00
Peter Hill
77df436b0d
CI: Fix version of HDF5 used in one-off test 2024-03-12 09:47:05 +00:00
Peter Hill
e7e1d7c413
CI: Fix version of HDF5 used in one-off test 2024-03-12 09:44:28 +00:00
Ward Fisher
443195973a
Merge branch 'main' into find_pnetcdf 2024-03-11 16:02:54 -06:00
Ward Fisher
5973f3d683
Merge pull request #2847 from K20shores/packaging
Use cmake netCDF with target_* for many options
2024-03-11 15:55:36 -06:00