Commit Graph

261 Commits

Author SHA1 Message Date
DWesl
aa4cdf8d2c Merge upstream into patch-4 2024-06-22 11:11:33 -04:00
DWesl
ff5a18d822
CI: Don't enable DAP on Cygwin
I don't know that it ever worked before, and it isn't working now.
2024-05-24 16:07:51 -04:00
DWesl
92f71ed657
CI: Remove a few environment variables from Cygwin CMake build
Let's see if the build works without these.  The export-everything is going to be the real test.

LDFLAGS="-Wl,--export-all-symbols"
MAKE=/usr/bin/make
2024-05-24 15:03:38 -04: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
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
DWesl
6a1716da28
FIX: Ensure CMake build has C++
That's the one that needed it.
2024-05-09 14:12:09 -04:00
DWesl
52eaf083fd
FIX: Force CXX=/usr/bin/g++
This should really not be needed
2024-05-09 14:11:14 -04:00
DWesl
bc522f118a
FIX: Force MAKE=/usr/bin/make
Why isn't CYGWIN_NOWINPATH working?
2024-05-09 14:06:16 -04:00
DWesl
8a52acb360
FIX: Install C++ compiler. 2024-05-09 14:02:23 -04:00
DWesl
8cd7881355
FIX: Ensure running Cygwin CMake 2024-05-09 14:00:18 -04:00
DWesl
4ec1b935d8
FIX: Capitalization of Makefile CMake builder 2024-05-09 12:34:31 -04:00
DWesl
cbc4aa6fc5
FIX: Run initial git command with Windows shell. 2024-05-09 11:26:15 -04:00
DWesl
e2bbe13afe
BUG: Try to fix CI YAML syntax. 2024-05-09 11:21:47 -04:00
DWesl
fbe383dab1
CI: Add Cygwin CMake run
Copied from MehdiChinoune's MSYS CMake CI run.
2024-05-09 11:14:30 -04: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
مهدي شينون (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
Dennis Heimbigner
9d95d706c4 Merge remote-tracking branch 'Unidata/main' 2024-04-17 19:45:13 -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
cdfe909a1a Add CI for a Windows Runner on Github Actions. 2024-04-17 13:29:18 -05:00
Kyle Shores
dba34ac5c2 Replace ENABLE_PNETCDF with NETCDF_ENABLE_PNETCDF 2024-03-18 15:54:02 -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
376f6b8314 Replace ENABLE_HDF4 with NETCDF_ENABLE_HDF4 2024-03-18 15:52:00 -05:00
Kyle Shores
d270aa8e93 Replace ENABLE_DAP with NETCDF_ENABLE_DAP 2024-03-18 15:51:14 -05:00
Peter Hill
77df436b0d
CI: Fix version of HDF5 used in one-off test 2024-03-12 09:47:05 +00:00
Kyle Shores
1e31577a2c removing unused cmake 2024-02-23 09:36:57 -06:00
Kyle Shores
5ee4424c5b updating tests to use correct cmake variable 2024-02-23 09:25:47 -06:00
Kyle Shores
9dbf67e88c updating hdf version 2024-02-22 11:16:11 -06:00
Kyle Shores
4edb8f8424 changing all macos versions 2024-02-22 11:04:20 -06:00
Kyle Shores
ab56e9a10b bumping macos version to see if the test passes 2024-02-22 10:26:38 -06:00
Kyle Shores
dda2c2de69 merging main 2024-02-22 09:59:05 -06:00
Peter Hill
7489c3d829 CI: Don't force -fPIC in static build 2024-02-22 09:50:56 -06:00
Kyle Shores
09ab86122d undoing change to github actions, removing PIC 2024-02-21 16:27:28 -06:00
Ward Fisher
16b6344dde Add one-off static compilation test to MacOS-based GitHub actions using cmake. 2024-02-21 14:06:08 -07:00
Ward Fisher
19b2661612 Added -fPIC 2024-02-21 12:44:01 -07:00
Ward Fisher
7a4e04da6d Added serial and static configurations for cmake-based oneoff-tests as well. 2024-02-21 11:34:32 -07:00
Ward Fisher
3422c571c0 Add one-off serial tests that check static and serial-based builds. 2024-02-21 11:32:16 -07:00
Peter Hill
11d484cbe2
CI: Bump version of HDF5 1.14 2024-02-16 11:37:15 +00:00
Kyle Shores
2f04d2030b verbose build output 2024-02-13 15:57:45 -06:00
Kyle Shores
f849b169fe verbose build 2024-02-09 16:52:39 -06:00
Ward Fisher
1c0dfaa6c1 Added stanza to workflow actions so that pushed changes cancel any running tests in favor of testing the updated codebase. 2023-10-25 10:23:26 -06:00
Ward Fisher
fa8d831a83
Merge pull request #2601 from DWesl/autotools-pseudo-make-distcheck
CI: Have nc-autotools use source distribution instead of repository
2023-10-24 13:28:56 -06:00
Ward Fisher
bbcbab7a26 Clarify name of a Github Action. 2023-10-24 11:48:29 -06:00
Ward Fisher
3e341bd6e1 Turning off cdash integration for the moment, but merging PR to include other changes/updates. 2023-10-24 11:46:21 -06:00
Ward Fisher
127830e49f Shot in the dark 2023-10-24 11:42:49 -06:00
Ward Fisher
4483760d32 Adjust workflow secrets syntax. 2023-10-24 11:30:56 -06:00
Ward Fisher
ee9c9d91aa Try a different syntax. 2023-10-24 11:25:02 -06:00