Commit Graph

10102 Commits

Author SHA1 Message Date
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
Ward Fisher
f8164e3b73
Merge pull request #2917 from MehdiChinoune/ci-mingw
CI: Setup a CMake job for MSYS2/MinGW
2024-05-14 17:26:43 -07:00
Ward Fisher
5b333a7c91
Merge pull request #2924 from oxelson/main
ftp --> resources, part II
2024-05-14 15:47:20 -07:00
Jennifer Oxelson
ef5fcf962b ftp --> resources 2024-05-13 16:50:50 -06:00
Ward Fisher
2960f56b81
Merge pull request #2923 from DennisHeimbigner/optionchange.dmh
Convert the ENABLE_XXX options to NETCDF_ENABLE_XXX options for NCZarr
2024-05-13 08:10:31 -07:00
Dennis Heimbigner
9d8f2e24e9 Update release notes 2024-05-11 19:38:03 -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
Ward Fisher
8d7916cedc
Merge pull request #2922 from WardF/gh2920.wif
Honor CMAKE_INSTALL_MANDIR
2024-05-08 11:29:25 -05:00
Ward Fisher
ebd3f36a9a Modify CMakeLists.txt to honor CMAKE_INSTALL_MANDIR in support of https://github.com/Unidata/netcdf-c/issues/2920. 2024-05-07 16:46:43 -06:00
Ward Fisher
58e37e0ecc
Merge pull request #2921 from DennisHeimbigner/utf8dump.dmh
Modify ncdump to print char-valued variables as utf8.
2024-05-07 17:20:08 -05:00
Dennis Heimbigner
211538cf25 Modify ncdump to print char-valued variables as utf8.
re: Issue https://github.com/Unidata/netcdf-c/issues/2916

Currently, ncdump prints char-valued variables as a mix
of ascii and octal characters. The octal format is used
for non-printable ascii character values.

This PR changes this to print the char variable values
as raw binary. This means in practice that utf-8 tags
are properly interpreted and printed as utf-8.
2024-05-07 10:36:14 -06:00
Dennis Heimbigner
e31e08f313 Merge remote-tracking branch 'Unidata/main' 2024-05-07 08:57:34 -06:00
مهدي شينون (Mehdi Chinoune)
c72360eef1 CI: Create an MSYS2/MinGW CMake run. 2024-05-07 04:47:19 +01:00
مهدي شينون (Mehdi Chinoune)
7c100f65e5 CI: Test on MSYS2/UCRT64 environment
see: https://www.msys2.org/docs/environments
2024-05-07 04:47:18 +01:00
مهدي شينون (Mehdi Chinoune)
c5c2d931cc CMake: Fix running tests on MinGW 2024-05-07 04:44:54 +01:00
Ward Fisher
f5c9183dd5
Merge pull request #2914 from MehdiChinoune/mingw-plugins
CMake: Enable plugins on MinGW
2024-05-06 15:44:11 -05:00
Dennis Heimbigner
9a8dfcf9eb Merge remote-tracking branch 'Unidata/main' 2024-05-02 11:36:49 -06:00
Ward Fisher
7c964300e7
Merge pull request #2915 from oxelson/ftp_cleanup
changes associated with the removal of the Unidata ftp site.
2024-05-01 14:05:44 -06:00
Jennifer Oxelson
e2e128f2de
removal of ftp and contrib site 2024-05-01 12:29:58 -06:00
Jennifer Oxelson
7429ec3629
removal of ftp site 2024-05-01 12:23:31 -06:00
Jennifer Oxelson
7748315558
removal of ftp and netcdf contrib site 2024-05-01 12:22:03 -06:00
Jennifer Oxelson
585837af73
removal of ftp and netcdf contrib site 2024-05-01 12:18:19 -06:00
Jennifer Oxelson
c49418d2a1
comment 2024-05-01 12:00:33 -06:00
Jennifer Oxelson
40ddaa8485
ftp --> resources for sample data location 2024-05-01 11:59:48 -06:00
Jennifer Oxelson
40fbe828d2
ftp--> resources for sample data location 2024-05-01 11:55:17 -06:00
مهدي شينون (Mehdi Chinoune)
8d6ba9ffcb
CMake: Enable plugins on MinGW 2024-05-01 11:02:04 +01:00
Ward Fisher
4c14a63f44
Merge pull request #2912 from WardF/cmake_targets_netcdf_fortran.wif
Re-introduce targets into netCDFConfig.cmake.in
2024-04-30 11:12:01 -06:00
Ward Fisher
31b58c4cc5 Reintroduce targets to allow for cmake-based netCDF-Fortran to find and linka gainst netCDF-C. Stop-gap measure until we can modify netCDF-Fortran to use a more modern approach. 2024-04-29 10:40:23 -06:00
Dennis Heimbigner
f8976ad7b9 revert 2024-04-28 13:30:46 -06:00
Dennis Heimbigner
fa882d451a Merge remote-tracking branch 'Unidata/main' 2024-04-26 12:43:21 -06:00
Ward Fisher
be9cb7f6da
Merge pull request #2897 from ZedThree/silence-ncgen-warnings
Fix warnings in `ncgen`
2024-04-24 15:25:15 -06:00
Ward Fisher
73b9f1828e
Merge pull request #2911 from WardF/refactor_fillvalue_macro.wif 2024-04-24 12:53:57 -06:00
Ward Fisher
2b0b18bc6a Update release notes. 2024-04-24 11:41:18 -06:00
Ward Fisher
c26f7eabf4 Refactor macro _FillValue to NC_FillValue in support of https://github.com/Unidata/netcdf-c/issues/2858 2024-04-24 11:38:07 -06:00
Ward Fisher
fc02ef4e75
Merge pull request #2905 from ZedThree/silence-libdispatch-warnings
Fix conversion warnings in libdispatch
2024-04-22 16:18:23 -06:00
Ward Fisher
e19558c982 Merge Unidata/netcdf-c:main into branch to take advantage of Windows runner-based CI on github actions. 2024-04-18 16:42:35 -06:00
Dennis Heimbigner
9d95d706c4 Merge remote-tracking branch 'Unidata/main' 2024-04-17 19:45:13 -06:00
Dennis Heimbigner
042dc4a236 ckp 2024-04-17 19:45:03 -06:00
Ward Fisher
7d111a75d9 Merge remote-tracking branch 'upstream/main' into silence-libdispatch-warnings 2024-04-17 15:41:56 -06:00
Ward Fisher
2e40e7c1a6
Merge pull request #2910 from WardF/add_windows_runner.wif
Add CI for a Windows Runner on Github Actions.
2024-04-17 15:14:41 -06:00
Dennis Heimbigner
55d14d633e test1 2024-04-17 14:01:05 -06:00
Dennis Heimbigner
a669cb7bc9 debug1 2024-04-17 13:37:05 -06:00
Ward Fisher
e153c8a81d Remove appveyor config file. 2024-04-17 13:33:55 -05:00
Ward Fisher
cdfe909a1a Add CI for a Windows Runner on Github Actions. 2024-04-17 13:29:18 -05:00
Ward Fisher
6dc3789efe
Merge pull request #2900 from ZedThree/silence-ncgen3-warnings
Fix warnings in `ncgen3`
2024-04-15 17:52:01 -06:00
Ward Fisher
b0b5853bcc
Merge pull request #2907 from WardF/fix_curl_dep.wif
Remove superflous check for libcurl
2024-04-08 15:32:18 -06:00
Ward Fisher
1081d2931f Add cmake prefix path to appveyor config. 2024-04-08 14:43:44 -06:00
Ward Fisher
7eca596e68
Merge pull request #2906 from GiGainfosystems/vendor_strlcat_symbol
Rename the vendored strlcat symbol
2024-04-08 14:40:24 -06:00
Ward Fisher
c2c6129980 Attempt to fix zlib-related error in appveyor. 2024-04-08 14:38:19 -06:00
Ward Fisher
610afe8c2c Correct typo. 2024-04-08 11:51:52 -06:00