Commit Graph

1075 Commits

Author SHA1 Message Date
Ward Fisher
7eeb055a77 Clean up doxygen syntax in release notes, fix incorrect version in CMakeLists.txt, and resolve duplicated doxygen tags in tutorial.dox 2024-08-23 11:13:01 -06:00
Greg Sjaardema
acd734a962
I think the comments don't need the -D 2024-08-20 08:26:47 -06:00
Greg Sjaardema
78b399ba66
Fix the fixes... 2024-08-20 08:24:54 -06:00
Greg Sjaardema
9e60a21244
Clean up some - vs _ in some comments
Some symbols in the comments about deprecated symbols were using `-` instead of `_`
2024-08-20 08:23:40 -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
5a45c0f36f Merge branch 'main' into ejh_z2 2024-08-16 13:03:15 -06:00
Ed
8de29b980d debugging cmake build 2024-08-14 14:37:39 -06:00
Ed
cb4e705c3c debugging cmake build 2024-08-14 14:31:18 -06:00
Ed
78b762d6d3 adding run_zstd_test.sh to cmake build 2024-08-14 14:24:06 -06:00
Ward Fisher
2861b9cf58
Merge pull request #2979 from edwardhartnett/ejh_cmake
added NETCDF_MPIEXEC option to CMake
2024-08-14 11:36:21 -06:00
Ed
82f214dbba added NETCDF_MPIEXEC option to CMake 2024-08-06 14:34:23 -06:00
Ed
ff86989c54 added NETCDF_MPIEXEC option to CMake 2024-08-06 14:33:04 -06:00
Ed
3ce86f7ef8 added NETCDF_MPIEXEC option to CMake 2024-08-06 14:27:17 -06:00
Edward Hartnett
f833d59971 Now use H5Literate2() instead of H5Literate() when its available 2024-08-05 07:13:29 -06:00
Ward Fisher
ebcecef2e5 Made changes so that doxygen configuration file is updated to comply with installed version. 2024-07-26 12:26:45 -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
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
46953ba472 Merge branch 'main' into v4.9.3-rc1-prep.wif 2024-07-15 16:06:49 -06:00
Ward Fisher
78bb39ddcc Correct typo. 2024-07-02 14:58:29 -06:00
Ward Fisher
7bf9078f67 Correct an issue using internal S3 API/SDK, reworked options so that instead of specifying S3_AWS support AND AWS-SDK or INTERNAL-SDK, you just specify which SDK you want to use and the inference is that you want to use S3 support. 2024-07-02 10:17:10 -06:00
gorloffslava
06dc3dddaa - Fixed problem with CMAKE_MODULE_PATH being overriden, not appended with contents of -DCMAKE_MODULE_PATH 2024-07-02 18:51:06 +05:00
Ward Fisher
76ad6dede9 Merge branch 'main' into v4.9.3-rc1-prep.wif 2024-07-01 13:19:35 -06:00
Ward Fisher
295096bacb Correct an issue where zip development files may not be immediately available. 2024-06-27 16:15:33 -06:00
Ward Fisher
b1d5e1fad3 Fix scope of variable to report standard filters in cmake-based builds. Also, fix syntax for a test script. 2024-06-27 15:50:16 -06:00
Ward Fisher
99814c5170 Merge branch 'main' into fix-cmake-summary.wif 2024-06-27 14:51:24 -06:00
Ward Fisher
fd96b5f8a6 Merge branch 'main' into fix-cmake-summary.wif 2024-06-27 14:48:53 -06:00
Greg Sjaardema
777e6d025d
Fix ordering in CMakeLists.txt
The configuration of the `nc-config` file uses some symbols that were not defined until later in the file.  This caused the quantize and zstd support lines to be incorrect.
2024-06-26 15:35:47 -06:00
Dennis Heimbigner
7d966b4bfe Fix some warning in cmake
re: Issue https://github.com/Unidata/netcdf-c/issues/2939

The problem managing inter-dependent options.
I was looking for certain cases of the form, where x and y are options.
````
if( not x and y)
message(warning "not x => not y)
endif
````
However in a couple of cases (including the referenced Issue), I was only testing this:
````
if( not x)
message(warning "not x => not y)
endif
````

Fix is to correct the tests.
2024-06-26 12:42:25 -06:00
Ward Fisher
f29cff2408 Bumped to next version. 2024-06-18 14:15:47 -06:00
Ward Fisher
c1a654b858 Fixing the 'standard filters' summary for cmake-based builds. 2024-06-13 16:59:06 -06:00
Ward Fisher
effdd8a3a2 Add compiler flag to fix infinities issue with intel compilers. 2024-06-12 10:42:48 -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
6abcddbb43
Merge pull request #2931 from DennisHeimbigner/loglevel.dmh
Cleanup handling of NETCDF_ENABLE_SET_LOG_LEVEL and NETCDF_ENABLE_SET_LOG_LEVEL_FUNC
2024-06-07 12:58:44 -05:00
Ward Fisher
8af3891c86 Remove redunandant option. 2024-06-06 15:12:23 -06:00
Ward Fisher
cb321fa0db Fix a few issues related to detection of libhdf4. 2024-06-04 16:15:49 -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
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
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
مهدي شينون (Mehdi Chinoune)
8d6ba9ffcb
CMake: Enable plugins on MinGW 2024-05-01 11:02:04 +01:00
Ward Fisher
610afe8c2c Correct typo. 2024-04-08 11:51:52 -06:00
Ward Fisher
2798948670 Remove check for libcurl unless it is necessary for required functionality. 2024-04-08 10:34:22 -06:00
Ward Fisher
cdd9cbb83c Merging current main development branch, changing option name to include
NETCDF_ prefix. Thanks!

Merge remote-tracking branch 'upstream/main' into cmake-ncgen-generate
2024-03-21 14:08:12 -06:00
Ward Fisher
37e6b92703
Merge pull request #2895 from K20shores/prefix_options
Prefix all options with NETCDF_
2024-03-20 12:07:23 -06:00
Ward Fisher
ab2adc68da A bit of cleanup for now, more to follow, but moving on to other roadblocks. 2024-03-20 11:25:36 -06:00
Ward Fisher
43573c5669 Comment out debugging messages, will remove before final merge. Clean up the logic, remove some rough edges. 2024-03-19 16:36:20 -06:00
Ward Fisher
67609b0965 Add a filter to process options and report deprecation warning. 2024-03-19 16:30:47 -06:00
Kyle Shores
5097e2ed9e adding deprecation error for usage of NETCDF_ENABLE_NETCDF4 2024-03-19 11:58:03 -05:00
Kyle Shores
449c0e3f97 removing cmake alias variable for netcdf4 2024-03-19 11:54:54 -05:00