Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Cygwin CI and stop installing unwanted plugins #2529
Add Cygwin CI and stop installing unwanted plugins #2529
Changes from all commits
844480a
a69308e
086eed0
0eed60a
927829e
f000e15
1ef000c
5c9722f
c805b02
d33e315
a71c606
8b600d3
543e27c
b85c929
adde7f5
a6d0bcc
f28dcaa
18b76ba
a0aa2b3
4046afd
1ed8ab1
fb02ff8
4ef6874
3b74e0b
4c1a39b
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove the -no-undefined?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's already in the
Makefile.am
, and I like having the flags necessary for things to build actually specified by the build system.I tried removing
-Wl,--export-all-symbols
as well, but that led to a number of "unresolved reference to symbol nc..." errors at link time. I might be able to make more progress by specifyingAM_CPPFLAGS=-DDLL_EXPORT -DDLL_NETCDF
in the top-levelMakefile.am
so the source files properly specify__declspec(dllexport)
, but given that CMake fails to link I'm not sure that would be enough.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure that test--driver and ltmain.sh should be ignored?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the developers' git repository? Almost certainly. For release tarballs (made with
make dist
ormake distcheck
), no, they should absolutely be included.On a related note, what is the policy on building GitHub's automatic repository tarballs? Do you assume everyone has a full Autotools or CMake install (the assumption I made here) or only POSIX Make and Bourne Shell (the assumption made for Autotools release tarballs)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We turn on maintainer mode in the release branches, so full installs should not be required. A lot of the generated files are explicitly kept out of version tracking, and only added to the 'v[xyz]-release' branch which gets tagged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will help keep the generated files out of version tracking, but will make adding them to the release branches a bit trickier unless the release branches drop this part of the
.gitignore
file; should I add a comment at the start to that effect?E.g.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I vaguely recall that we had problems in the past using AC_CANONICAL_HOST.
Wish I could remember the details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It won't auto-discover MSVC, but it should help with #2396, since the current assumption made in using
uname
directly is that nobody will want to cross-compile at any time for any reason