Commit Graph

9161 Commits

Author SHA1 Message Date
Dennis Heimbigner
6817decd29 Turn off extraneous debug output 2022-10-26 14:25:17 -06:00
Ward Fisher
3edcdc240b Correct a typo in support of https://github.com/Unidata/netcdf-c/issues/2534 2022-10-26 09:22:50 -06:00
Ward Fisher
83fca01a0a Updated the relees notes. 2022-10-20 14:10:27 -06:00
Ward Fisher
f2471be0bf
Merge pull request #2531 from WardF/filter_quickstart_guide.wif
Add draft filter quickstart guide
2022-10-19 12:59:08 -06:00
Ward Fisher
39aeb2f30d
Merge branch 'v4.9.1-wellspring.wif' into filter_quickstart_guide.wif 2022-10-19 12:23:40 -06:00
Ward Fisher
c4fd240f39 Updated RELEASE_NOTES 2022-10-19 12:22:38 -06:00
Ward Fisher
da03c01263 Correct an issue observed in out-of-source builds. 2022-10-19 10:26:44 -06:00
Ward Fisher
614c1f764b Working on another make distcheck failure. 2022-10-18 15:12:04 -06:00
Ward Fisher
533572f987 Correct an issue with 'make distcheck' where out-of-source tests were failing. 2022-10-18 14:27:12 -06:00
Ward Fisher
22da6b73c3 Add generated files to distclean. 2022-10-18 11:19:03 -06:00
Ward Fisher
dbfae7173b Update release notes. 2022-10-17 17:09:35 -06:00
Ward Fisher
b42ab34cec Copy zmap reference files for cmake-based tests. 2022-10-17 16:55:40 -06:00
Ward Fisher
85cfbab102 Manually bump version in diff-compare to get RC1 out the door, this will need to be automatically excluded from the test at some point otherwise we will see this test fail every time the VERSION string changes. 2022-10-17 14:20:34 -06:00
Ward Fisher
ccd1e6a633 Updated for next release cycle. 2022-10-17 13:34:11 -06:00
Ward Fisher
a0736a3f06 Updated SO version. 2022-10-17 13:31:39 -06:00
DWesl
1ed8ab1576
BLD: Avoid specifying -version-info and -avoid-version
The previous working version specified just -version-info, and specified it for every plugin separately.
This moves -version-info to AM_LDFLAGS and removes -avoid-version from the (previously unused) AM_LDFLAGS.
Cross-compilation targeting MacOS uses -version-info to determine suffix, so hopefully this gets the MacOS tests passing.
2022-10-15 19:01:39 -04:00
DWesl
4046afdfc2 BLD: Fix syntax in configure.ac.
The command looks much more like test than
any command I can think of that would be called text.
2022-10-13 19:32:48 -04:00
DWesl
a0aa2b3e11 CI: Revert Windows CI run on push.
I requested this when working on a branch,
rather than a pull request.
This is a PR now, so I should go back to how
things were before.
2022-10-13 19:31:42 -04:00
DWesl
18b76baed0 CI: Disable CMake tests on Cygwin and MinGW.
Cygwin tests don't pass for no reason I can discern; MinGW tests don't
build, again for no reason I can discern.
2022-10-12 13:36:52 -04:00
DWesl
f28dcaa994 TST: Mark nczarr s3 cleanup test XFAIL on Cygwin instead of skipping.
It might be nice to be told when it starts passing.
This probably requires installing s3 on Cygwin.
2022-10-12 13:36:52 -04:00
DWesl
a6d0bcc215 BUG: Robustify nulldup definition.
Probably unnecessary, but should avoid a warning and documents what happens.
2022-10-12 13:36:52 -04:00
DWesl
adde7f55ab BLD: Get CMake build compiling on Cygwin.
Mostly changing to Markdown files to a format Doxygen recognizes.
2022-10-12 13:00:03 -04:00
DWesl
b85c929a97 CI: Prep Cygwin CI run for adding CMake build. 2022-10-12 12:58:04 -04:00
DWesl
543e27c8af BLD: Use host platform instead of build platform for platform-specific checks. 2022-10-12 12:58:01 -04:00
DWesl
8b600d3499 TST: tst_h_strbug and tst_h_refs pass on Cygwin now
Mark them un-xfail
2022-10-12 12:58:01 -04:00
DWesl
a71c606802 TST: Mark NCZarr plugins XFAIL on MinGW
Not sure why --disable-nczarr-filters doesn't exclude them, but let's check the rest of the functionality.
2022-10-12 12:58:01 -04:00
DWesl
d33e3155d8 CI: Try to skip failing NCZarr Plugin tests on MinGW 2022-10-12 12:58:01 -04:00
DWesl
c805b02143 TST: Mark tst_filter.sh XFAIL on MinGW
Attempting to add a filter to a netCDF file using `nccopy` results in
a file without `_Filter` attribute set.  I suspect this is a problem
with HDF5, but I don't remember why and never got around to testing
that.  The rest of the plugin tests pass, so I'm telling the test
runner to expect this one test to fail and see if there are other
failures.
2022-10-12 12:58:01 -04:00
DWesl
5c9722f5bf TST: Add code for MinGW to findplugin.sh. 2022-10-12 12:55:37 -04:00
DWesl
1ef000cae1 CI, DBG: Upload MinGW test logs on failure. 2022-10-12 12:55:37 -04:00
DWesl
f000e15cb5 BLD: Try fixing the export-symbols problem on MinGW
It's not exporting symbols at the moment, and I'd prefer to avoid -Wl,--export-all-symbols.
2022-10-12 12:55:35 -04:00
DWesl
927829e267 DEV, TST: Move test plugins to check_LTLIBRARIES instead of tmp_LTLIBRARIES.
Don't install test plugins; don't install any plugins if not
requested.

DEV: Remove plugins installed to ALTPLUGINDIR.

These get put in the build tree if ENABLE_PLUGIN_DIR is not true.
I want to remove these first, then look into skipping the plugins
directory if plugins are disabled.

DEV: don't install plugins if there's no install dir

Still build them, since they might be needed for tests, but don't mark them for install.

BLD, FIX: Add -rpath to noinst plugin links.

Since I stopped installing the plugins, I need to manually add `-rpath` to their link line so `libtool` actually bothers linking them.
2022-10-12 11:05:06 -04:00
DWesl
0eed60a295 BLD: Get netCDF4 build working on Windows.
Most changes are to get plugins working.
libdispatchdreg.c went in in unidata/netcdf-c#2460,
after I'd done it here.

Summary of individual changes below.

BLD: Remove declspec(dllexport); in dreg.c.

By removing the explicit handling, the automatic handling
(equivalent to --export-all-symbols with recent GNU tools)
will be enabled again, so the generated library will have
more than one function exported.

BLD: Link plugins against libnetcdf on Cygwin.

BLD: Add AM_LDFLAGS to plugin _LDFLAGS to pass -no-undefined.

BLD: Link ncz*filters plugins against libnetcdf.

BLD: Add AM_LDFLAGS to test plugin _LDFLAGS.

Also move rpath from AM_LDFLAGS to test plugin _LDFLAGS.

TST: Don't run nczarr_test/run_specific_filters.sh on Cygwin.

It takes over half an hour to complete, where the others take a minute or less.

TST: Try to find the hanging Cygwin test.
2022-10-12 10:56:17 -04:00
DWesl
086eed0e39 CI, TST: Check that test plugins don't get installed with DESTDIR
This caused problems for packagers (unidata/netcdf-c#2431)
2022-10-12 10:54:40 -04:00
DWesl
a69308e5b7 CI: Add Cygwin CI run. 2022-10-12 10:54:38 -04:00
DWesl
844480aa37 DEV: Add autools-generated files to .gitignore.
They weren't in git; I'm assuming that's on purpose.
2022-10-12 10:54:31 -04:00
Ward Fisher
8f1d1034fb Further editing. 2022-10-11 16:17:29 -06:00
Ward Fisher
d28922a2f5 Continuing to flesh out the quick-start guide. 2022-10-11 11:15:06 -06:00
Ward Fisher
1bbaa66f32
Merge pull request #2527 from DennisHeimbigner/versionfix.dmh
Move construction of VERSION file to end of the build
2022-10-11 10:00:33 -06:00
Dennis Heimbigner
52a4ecad60 Move construction of VERSION file to end of the build
re: https://github.com/Unidata/netcdf-c/issues/2521

Charlie Zender has discovered that the netcdf created file VERSION
conflicts with the C++ version file on OSX case-insensitive file systems,
and maybe other case-insensitvie file systems.

Note:
1. Cmake does not create the VERSION file
2. The VERSION file is not installed
3. It turns out that the VERSION file is not required by the autoconf build.

It is possible that clients or package build system (e.g apt or brew)
might use the VERSION file, so we cannot delete it altogether.

So as a fix, we move the creation of the VERSION file to after the
build is complete by inserting a all-local hook into netcdf-c/Makefile.am.

# Misc. other changes
1. Suppressed warning by making use of the systeminfo command contingent on the platform being Windows.
2022-10-09 19:32:20 -06:00
Ward Fisher
1ba435edd8 Working on filter quickstart document. 2022-10-06 15:34:08 -06:00
Ward Fisher
4eb601dbac Roughed in initial quickstart 2022-10-05 15:28:50 -06:00
Ward Fisher
a0184d7678 Working towards writing the quick start for plugins and integrating it into doxygen. 2022-10-05 13:31:49 -06:00
Dennis Heimbigner
0f198c6a72 Merge remote-tracking branch 'Unidata/main' 2022-10-04 11:06:20 -06:00
Ward Fisher
62f39e2eb3 Updated release notes. 2022-10-03 17:49:19 -06:00
Ward Fisher
6754be1223 Add blank filter quickstart guide file. 2022-10-03 15:40:51 -06:00
Ward Fisher
632fef4a14
Merge pull request #2520 from WardF/fix-ncdump-prereq.wif
Fix prereqs in ncdump/tst_nccopy4 in order to avoid race conditions.
2022-09-30 23:56:53 -06:00
Ward Fisher
9696f2656b
Merge pull request #2519 from WardF/gh2478.wif
Update plugins/Makefile.am
2022-09-30 13:23:22 -06:00
Ward Fisher
4b815432e3 Add prepreqs to ncdump/tst_nccopy4, revising some race condition related errors. 2022-09-30 13:21:24 -06:00
Ward Fisher
b26348c21c Add LDFLAGS for two plugins, nczstdfilters and nczhdf5filters, in support of https://github.com/Unidata/netcdf-c/issues/2478 2022-09-30 12:34:33 -06:00