Ed
bded163c38
debugging ncdump build problem
2024-08-14 13:29:52 -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
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
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
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)
c5c2d931cc
CMake: Fix running tests on MinGW
2024-05-07 04:44:54 +01: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
cdfe909a1a
Add CI for a Windows Runner on Github Actions.
2024-04-17 13:29:18 -05:00
Ward Fisher
9639ba445d
Merge pull request #2875 from seanm/clang-tidy-fixes
...
Misc clang-tidy fixes, and added a .clang-tidy config file
2024-04-05 14:45:22 -06:00
Ward Fisher
38d3831319
Merge branch 'main' into clang-tidy-fixes
2024-04-02 15:30:47 -06:00
Peter Hill
3c6bd83330
Change format of backwards-loops
...
Enables using correct `size_t` type for loop counter, usually fixing
some conversion warnings
2024-03-25 14:25:38 +00:00
Ward Fisher
ad53ef4203
Merge pull request #2814 from ZedThree/fix-dumplib-warnings
...
Fix most warnings in `dumplib.c`
2024-03-20 17:19:52 -06:00
Kyle Shores
a82659b0e9
Replace ENABLE_TESTS with NETCDF_ENABLE_TESTS
2024-03-18 15:54:48 -05:00
Kyle Shores
d1334f7b88
Replace ENABLE_NCZARR with NETCDF_ENABLE_NCZARR
2024-03-18 15:52:19 -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
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
Sean McBride
fb5c6b139c
Auto fixed clang-tidy readability-uppercase-literal-suffix warnings
2024-03-01 20:46:58 -05:00
Sean McBride
4188db2817
Auto fixed clang-tidy readability-redundant-control-flow warnings
2024-03-01 20:46:58 -05:00
Sean McBride
0d82e3cd28
Auto fixed clang-tidy bugprone-suspicious-string-compare warnings
2024-03-01 20:46:58 -05:00
Kyle Shores
3526faa98d
removing debug information
2024-02-23 09:01:28 -06:00
Kyle Shores
a73f4960e3
fixing a typo
2024-02-22 16:00:48 -06:00
Kyle Shores
dda2c2de69
merging main
2024-02-22 09:59:05 -06:00
Peter Hill
907e5cc43f
CMake: Use target_link_libraries
with HDF5::HDF5
target
2024-02-16 10:51:20 +00:00
Kyle Shores
53887b2295
and now this
2024-02-15 16:51:38 -06:00
Kyle Shores
12120235b2
making netcdf link publicly to hdf5 includd directoriess
2024-02-14 10:40:53 -06:00
Kyle Shores
0a01ea62dd
por que no los dos
2024-02-14 10:28:31 -06:00
Kyle Shores
5cc35dee1c
maybe it's this one?
2024-02-14 10:24:25 -06:00
Kyle Shores
5eaa72cf35
trying to link to hdf5
2024-02-14 10:14:30 -06:00
Kyle Shores
d7e26cad6b
there has to be a better way to debug this
2024-02-13 16:33:20 -06:00
Ward Fisher
25fc13bd80
Merge pull request #2840 from ZedThree/silence-ncdump-warnings
...
Silence ncdump warnings
2024-02-09 16:49:01 -07:00
Kyle Shores
0b78616ddb
lowercase things
2024-02-09 16:27:18 -06:00
Ward Fisher
fff6e53854
Rebased on current Unidata/netcdf-c main branch.
2024-01-23 11:55:31 -08:00
Ward Fisher
13d9fc38c2
Merge branch 'main' into unity
2024-01-22 12:42:25 -08:00
Ward Fisher
42b3f5582e
Added a comment block for future reference.
2024-01-22 12:37:35 -08:00
Ward Fisher
16bcb1ddb9
Merge branch 'silence-nclist-warnings' of https://github.com/ZedThree/netcdf-c into rebase-gh2812.wif
2024-01-19 11:11:21 -07:00
Peter Hill
700dfd29cc
Fix argument type on internal utility function
2024-01-15 15:46:14 +00:00
Peter Hill
0706278119
Remove unused argument from internal utility function
2024-01-15 15:46:13 +00:00
Peter Hill
ea5a0631c5
Fix misleading indentation on if/else statements
2024-01-15 15:46:13 +00:00
Peter Hill
b6eb730684
Silence various conversion warnings in ncdump
2024-01-15 15:46:13 +00:00
Peter Hill
409ca579ab
Fix return type on a couple of internal utility functions
2024-01-15 15:46:13 +00:00
Peter Hill
b94199874d
Fix returning wrong type
2024-01-15 15:46:13 +00:00
Peter Hill
472b30f313
Remove some unused variables
2024-01-15 15:46:13 +00:00
Peter Hill
a7552b4b83
Fix a couple of conversion warnings in shared nczarr/ncdump test
2024-01-15 13:57:22 +00:00
Julien Schueller
5537a60885
CMake: Add support for UNITY_BUILD
2024-01-12 10:18:29 +01:00
Ward Fisher
c1fb4b0bae
Merge pull request #2809 from ZedThree/silence-malloc-warnings
...
Silence conversion warnings from `malloc` arguments
2023-12-21 17:20:56 -07:00
Ward Fisher
2616e2c411
Merge pull request #2745 from e-kwsm/chmod-x
...
chore: unset executable flag
2023-12-11 17:28:46 -07:00
Ward Fisher
002e2869ab
Merge pull request #2691 from seanm/snprintf
...
sprintf -> snprintf
2023-12-11 15:46:51 -07:00
Sean McBride
4f15a9265e
Removed a use of sprintf that required changing a function signature
2023-12-08 13:30:54 -05:00
Sean McBride
adc4dc1435
Replaced some sprintf with snprintf with aid of new variable containing size
...
One case required slightly complicated accounting of how much space is left in the buffer.
2023-12-08 13:30:38 -05:00