Commit Graph

755 Commits

Author SHA1 Message Date
Ward Fisher
042c0b7cbd Modify nc-config --libs and --static arguments in support of https://github.com/Unidata/netcdf-c/issues/3032 2024-10-01 16:54:38 -05:00
Ward Fisher
dc0634c6e0 Toggle legacy macros to on, for now. 2024-09-27 14:22:59 -06:00
Ward Fisher
0f92d4c0f6 Clean up a couple of logic errors resulting in github action failures. 2024-09-26 16:52:05 -06:00
Ward Fisher
a222922d7b Add legacy macro option to cmake build system. Changed netcdf_plugin_install_dir to use /usr/local/hdf5/lib/plugin by default unless a 'prefix' is specified by the user, in which case it becomes prefix/hdf5/lib/plugin. This can still be overridden with the build flags appropriate to the build system. 2024-09-25 12:15:55 -05:00
Ward Fisher
de7992c0e0 Add option to enable legacy macros. 2024-09-25 11:34:10 -05:00
Ward Fisher
a7077c6e6e Add configure option to enable potentially-problematic legacy macro _FillValue 2024-09-19 14:56:35 -05:00
Ward Fisher
6f63ca64b2
Merge pull request #3018 from WardF/fixlibcurl.wif
Check for libcurl should only happen if DAP and/or ncZarr are enabled.
2024-09-11 21:57:32 +00:00
Ward Fisher
36297b0470 Clean up and reorganize a bit, add logic so that byterange support is disabled when the functionality it requires has been disabled. 2024-09-11 16:09:55 -05:00
Ward Fisher
735f5be2d1 Check for libcurl should only happen if DAP and/or ncZarr are enabled. 2024-09-11 14:14:18 -06:00
Ward Fisher
7549bb8b45
Merge branch 'main' into ejh_0830 2024-09-06 12:25:36 -05:00
Edward Hartnett
15c6606513 merged main 2024-09-04 05:26:32 -06:00
Ward Fisher
3d795fafbb
Merge pull request #2996 from edwardhartnett/ejh_t3
adding more zstd testing
2024-09-04 01:34:47 +02:00
Edward Hartnett
9e0ee2790c adding test for HDF5 error message 2024-09-02 05:47:45 -06:00
Ed
9f8132ca51 fixed some autoreconf warnings 2024-08-30 12:58:43 -06:00
Ed
f027bcee30 fixing cmake build 2024-08-30 10:11:12 -06:00
Edward Hartnett
e768bf2cbc parallel zstd test 2024-08-30 05:20:00 -06:00
Ed
774d26a81d fixing findplugins move to h5_test 2024-08-28 14:05:32 -06:00
Ward Fisher
55309972e8 o Added NETCDF_ENABLE_PLUGINS option to cmake based build.
o Added information related to plugins, plugin install location to post-build summary.
2024-08-19 13:47:00 -06:00
Ed
218bf47a08 adding run_zstd_test 2024-08-14 10:24:53 -06:00
Ward Fisher
4aaf312c95
Merge pull request #2973 from edwardhartnett/ejh_fix_configure
fixed --with-plugin-dir option to match cmake behavior
2024-08-13 15:46:38 -06:00
Ed
3bb9aaf430 fixed --with-plugin-dir option to match cmake behavior 2024-08-13 07:44:57 -06:00
Edward Hartnett
c3ae3daf2d Now use H5Literate2() instead of H5Literate() when its available 2024-08-05 07:03:18 -06:00
Ward Fisher
ca36d9940d Merge branch 'main' into v4.9.3-rc1-prep.wif 2024-07-16 15:24:02 -06:00
Ward Fisher
b67745eb0b Correct the check. 2024-07-16 12:42:10 -06:00
Ward Fisher
9012c58edb Fix check for getfattr in configure.ac 2024-07-16 12:36:51 -06:00
Ward Fisher
848e85171a Mitigate extreme slowdown on systems without xattr.h or getfattr. Standard output was being spammed, resulting in a test that currently runs in around a minute to balloon out to almost 20. 2024-07-16 12:19:16 -06:00
Ward Fisher
5f89cd0c10 Fix a hang in cygwin based tests on Windows. Add check for sys/xattr.h so it can be used when available. Added installation of a tool required for cygwin. 2024-07-16 12:05:49 -06:00
Ward Fisher
f29cff2408 Bumped to next version. 2024-06-18 14:15:47 -06:00
Ward Fisher
a63060cd1b Bump SO version according to https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html in preparation for the next release. 2024-06-11 15:36:05 -06:00
Ward Fisher
1a83e12eb3 Clean up surperflous options that will always align with the value of enable-logging 2024-06-06 15:24:13 -06:00
Dennis Heimbigner
fd637fd460 Cleanup handling of NETCDF_ENABLE_SET_LOG_LEVEL and NETCDF_ENABLE_SET_LOG_LEVEL_FUNC
The NETCDF_ENABLE_SET_LOG_LEVEL_FUNC option is apparently not used, but
is effectively used to set NETCDF_ENABLE_SET_LOG_LEVEL.
This is not clear from the build files CMakeLists.txt and configure.ac.
So this PR cleanups the code to make it more clear what is going on.
2024-05-24 16:48:04 -06:00
Dennis Heimbigner
f0f0f39950 Cleanup various Zarr-related build issues
# Description
Remove various obsolete build options. Also do some code movement.

## Specific Changes

* The remotetest server is sometimes unstable, so provide a mechanism
  to force disabling calls to remotetest.unidata.ucar.edu.
  This is enabled by adding a repository variable named
  REMOTETESTDOWN with the value "yes".
* Fix CMakeLists.txt to use the uname command as an alternate
  to using the hostname command (which does not work under cygwin).
* Remove the JNA stuff as obsolete
* Remove the ENABLE_CLIENTSIDE_FILTERS options since it has been
  disabled for a while.
* Fix bad option flag in some github action .yml files: change --disable-xml2 to --disable-libxml2
* Collect globalstate definitions into nc4internal.h
* Remove ENABLE_NCZARR_FILTERS_TESTING option as obsolete and replace
  with ENABLE_NCZARR_FILTERS
* Move some dispatcher independent functions from libsrc4/nc4internal.c to libdispatch/ddispatch.c
* As a long term goal, and because it is now the case that --enable-nczarr
    => USE_NETCDF4, make the external options --enable-netcdf-4 and
    --enable-netcdf4 obsolete in favor of --enable-hdf5
    We will do the following for one more release cycle.
        1. Make --enable-netcdf-4 be an alias for --enable-netcdf4.
        2. Make --enable-netcdf4 an alias for --enable-hdf5.
        3. Internally, convert most uses of USE_NETCDF_4 ad USE_NETCDF4 to USE_HDF5
    After the next release, --enable-netcdf-4 and --enable-netcdf4 will
    be removed.
2024-05-15 18:46:25 -06:00
Jennifer Oxelson
ef5fcf962b ftp --> resources 2024-05-13 16:50:50 -06:00
Dennis Heimbigner
69ed78e7d7 Convert the ENABLE_XXX options to NETCDF_ENABLE_XXX options
# Primary Change
In order to conform to the cmake overhaul, occurrences of
ENABLE_XXX options in the nczarr code have been changed to
NETCDF_ENABLE_XXX.

# Misc. Other changes
* Fix use of rand_s in libdispatch/ncrandom.c
* Fix some bugs in the mingw gitub action.
* Fix signature bug in libncpoco/cp_win32.c
* Make some NCZarr fixes to config.h.cmake.in
2024-05-11 16:23:40 -06:00
Kyle Shores
8fd6dcb979 Replace ENABLE_S3 with NETCDF_ENABLE_S3 2024-03-18 15:54:15 -05:00
Kyle Shores
85f697868c Replace ENABLE_QUANTIZE with NETCDF_ENABLE_QUANTIZE 2024-03-18 15:54:07 -05:00
Kyle Shores
44778e52bf Replace ENABLE_PLUGINS with NETCDF_ENABLE_PLUGINS 2024-03-18 15:53:59 -05:00
Kyle Shores
d1334f7b88 Replace ENABLE_NCZARR with NETCDF_ENABLE_NCZARR 2024-03-18 15:52:19 -05:00
Kyle Shores
9584b4fa3b Replace ENABLE_LIBXML2 with NETCDF_ENABLE_LIBXML2 2024-03-18 15:52:09 -05:00
Kyle Shores
c5f24df396 Replace ENABLE_HDF5 with NETCDF_ENABLE_HDF5 2024-03-18 15:52:02 -05:00
Kyle Shores
0535edd9c1 Replace ENABLE_FILTER_TESTING with NETCDF_ENABLE_FILTER_TESTING 2024-03-18 15:51:55 -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
831bf665ce Replace ENABLE_DOXYGEN with NETCDF_ENABLE_DOXYGEN 2024-03-18 15:51:24 -05:00
Kyle Shores
d270aa8e93 Replace ENABLE_DAP with NETCDF_ENABLE_DAP 2024-03-18 15:51:14 -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
e934438e14 replacing ENABLE_ATEXIT_FINALIZE 2024-03-18 15:30:20 -05:00
Kyle Shores
dc4830a632 replacing BUILD_UTILITIES 2024-03-18 15:29:24 -05:00
Kyle Shores
ce2d5d9045 matching cmake variables in autotools configuration 2024-01-08 10:29:14 -06:00
Ward Fisher
807c6ef3f9
Merge branch 'main' into execinfo.dmh 2023-11-15 15:54:35 -07:00