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
Peter Hill
31d1fc0a6e
Fix warning about uninitialised nciop
2024-03-11 15:55:43 +00:00
Peter Hill
09e96aeaee
Silence many conversion warnings in libsrc
2024-03-11 15:55:41 +00:00
Peter Hill
ab052f65ec
Fix default type for alloca
argument
2024-03-11 15:53:31 +00:00
Ward Fisher
79cb6c554b
Bump Visual Studio appveyor, for the brief period before we swap out to GitHub actions.
2024-03-08 16:38:27 -07:00
Ward Fisher
bca37ebe0e
Make a change in support of https://github.com/Unidata/netcdf-c/pull/2879
2024-03-07 17:02:26 -07:00
Ward Fisher
902896eb76
Merge pull request #2882 from Unidata/revert-2879-hdf-jpeg
...
Revert "fix cmake build with ENABLE_HDF4 and hdf requiring jpeg"
2024-03-07 16:58:52 -07:00
Ward Fisher
54e6189dd9
Revert "fix cmake build with ENABLE_HDF4 and hdf requiring jpeg"
2024-03-07 16:58:43 -07:00
Ward Fisher
0b9d85451c
Merge pull request #2879 from aumuell/hdf-jpeg
...
fix cmake build with ENABLE_HDF4 and hdf requiring jpeg
2024-03-07 16:58:21 -07:00
Kyle Shores
76f5a08f23
removing need for global compile definition
2024-03-07 10:57:25 -06:00
Martin Aumüller
9277878e6f
fix cmake build with ENABLE_HDF4 and hdf requiring jpeg
...
Currently, the build fails because jpeg libraries are not linked in.
There is already a HDF4_LIBRARIES that always includes HDF4_MFHDF_LIB and
HDF4_DF_LIB (in cmake/dependencies.cmake), but this is never used.
HDF4_LIBRARIES will also include jpeg libraries, if required.
Fix build by linking against jpeg by linking against HDF4_LIBRARIES instead
of the two more specific variables.
2024-03-06 21:52:44 +01:00
Ward Fisher
6bcfb4bf8a
Merge pull request #2819 from DennisHeimbigner/awsdfalt.dmh
...
Properly handle missing regions in URLS
2024-03-05 14:34:10 -07:00
Ward Fisher
cc1494d988
Merge branch 'main' into awsdfalt.dmh
2024-03-05 12:50:08 -07:00
Ward Fisher
64cb40424c
Removed assumption that we are linking against static HDF5 when building a static library. While it's reasonable to provide a mechanism to specify this, it is not necessarily true. We should also perhaps rename the NC_FIND_SHARED option, since LIBS implies it will look for static or shared libraries for all dependencies, but this logic only looks for HDF5. In any case, commenting this out for now until we can rework it.
2024-03-05 09:39:35 -07:00
Peter Hill
04db10e5c1
Change NC_ATT_INFO.len
to size_t
...
Fixes about 20 warnings
2024-03-04 17:05:03 +00:00
Sean McBride
6f5a3b7371
Added a .clang-tidy config file
2024-03-01 20:46:58 -05:00
Sean McBride
edcfc61fe6
Manually fixed performance-type-promotion-in-math-fn warnings
2024-03-01 20:46:58 -05:00
Sean McBride
e1f22bc4ed
Manually fixed readability-suspicious-call-argument warnings
2024-03-01 20:46:58 -05:00
Sean McBride
42d0b48e8d
Auto fixed clang-tidy readability-avoid-const-params-in-decls warnings
2024-03-01 20:46:58 -05:00
Sean McBride
029389efcb
Auto fixed clang-tidy readability-redundant-declaration warnings
2024-03-01 20:46:58 -05:00
Sean McBride
c92381721e
Manually fixed some bugprone-suspicious-semicolon warnings
2024-03-01 20:46:58 -05:00
Sean McBride
dededdf2ee
Manually fixed some bugprone-unsafe-functions warnings
2024-03-01 20:46:58 -05:00
Sean McBride
7516c21032
Manually fixed some bugprone-suspicious-string-compare warnings
2024-03-01 20:46:58 -05:00
Sean McBride
fa7f751b97
Manually fixed some bugprone-assert-side-effect warnings
2024-03-01 20:46:58 -05:00
Sean McBride
d5d24f756f
Manually fixed some bugprone-not-null-terminated-result warnings
2024-03-01 20:46:58 -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
Peter Hill
4f55d4c716
Silence most conversion warnings in nc4hdf.c
2024-03-01 17:16:42 +00:00
Peter Hill
58abc9b9b9
Silence some sign conversion warnings in libhdf5
2024-03-01 16:58:34 +00:00
Ward Fisher
6662212460
Merge pull request #2867 from Julius-Plehn/fix/hdf5_config_header
...
Fixes finding HDF5 header
2024-02-29 17:50:21 -07:00
Ward Fisher
8633448eea
Re-adding global add-definition for the time being. Its lack introduces an unnecessary roadblock (at the moment). Re-formulated logic for determining what tests to run when. Need to figure out why plugins are turned off when MINGW is true, but that's a different issue. As of this push, all tests succeed on local windows system.
2024-02-29 12:15:30 -07:00
Ward Fisher
d557272be6
Merge branch 'packaging' of github.com:K20shores/netcdf-c into packaging
2024-02-29 12:02:04 -07:00
Ward Fisher
5ee9038a9f
Update cmake-based plugins and test logic.
2024-02-29 12:01:52 -07:00
Ward Fisher
2ffbcc660b
Modify messages to be more clear.
2024-02-29 11:53:13 -07:00
Kyle Shores
c29db073eb
setting dll export on each target
2024-02-29 11:36:47 -06:00
Ward Fisher
f9b1b67d38
Correct lingering compilation issue under Visual Studio. Hopefully I haven't broken the Linux build
2024-02-28 16:45:48 -07:00
Ward Fisher
6738723b72
Addressing a handful of issues encountered in Visual Studio re: linking, setting compiler flags for VC, etc.
2024-02-28 16:29:23 -07:00
Kyle Shores
1508c678be
removing c++ header file from c header
2024-02-27 11:50:24 -06:00
Ward Fisher
182d462203
Corrected a dependencies issue linking against libcurl and finding curl/curl.h using Visual Studio. There's another issue to correct, but this is getting us a lot closer.
2024-02-26 17:34:00 -07:00
Ward Fisher
44cb18169e
Correct(?) syntax with target_compile_options() in top level CMakeLists.txt. Correct the logic flow in libncxml/CMakeLists.txt to not try to include non-existant directory when libxml2 is not found.
2024-02-23 14:06:17 -07: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
8551a2907e
removing possibly redundant cmake for shared library
2024-02-23 09:11:04 -06:00
Kyle Shores
3b0d520189
updating release notes
2024-02-23 09:04:07 -06:00
Kyle Shores
c24a0d0968
bumping cmake version
2024-02-23 09:02:15 -06:00