-
-
Notifications
You must be signed in to change notification settings - Fork 193
Update GHA tests to run using RTools44 #3060
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
Conversation
Jenkins Console Log Machine informationNo LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focalCPU: G++: Clang: |
Turns out the RTools44 GCC has a bug in its The result of I've notified the toolchain maintainer |
Looks like the reason why the RTools40 toolchain was passing but not Rtools44, is that the msys2-based gcc (like rtools40 and those installed via I'm still investigating whether this is an rtools-specific or a general mxe issue, but for now we can just add |
Jenkins Console Log Machine informationNo LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focalCPU: G++: Clang: |
I've heard back from the RTools maintainer that they would prefer to wait until the next major RTools release before adding this flag, but that I should report the bug upstream to gcc/libstdc++. So we'll need to manually add the flag in the interim. @WardBrian / @rok-cesnovar Should I keep the makefile as unconditionally adding the flag on Windows (like it is now)? Alternatives that I can think of would be to:
Thoughts/preferences? |
I think it's fine being unconditional on Windows |
@WardBrian ok to approve and merge before the freeze? Just want to make sure this in now that the next release is recommending the stock RTools toolchain |
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.
Thought I already had! LGTM
Summary
Our Github CI for Windows is significantly out of date with the current RTools windows toolchain, this PR updates the workflows to run using the latest RTools44 toolchain
Tests
N/A
Side Effects
N/A
Release notes
Update Github CI to use RTools44 toolchain on windows
Checklist
Copyright holder: Andrew Johnson
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
the basic tests are passing
./runTests.py test/unit
)make test-headers
)make test-math-dependencies
)make doxygen
)make cpplint
)the code is written in idiomatic C++ and changes are documented in the doxygen
the new changes are tested