-
Notifications
You must be signed in to change notification settings - Fork 7
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
Fix CI #114
Conversation
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'm curious why this change is necessary, but I don't specifically object to the change.
Longer-term I think it's important for CI to cover more C/Fortran toolchains (issue #70). Specifically it would be nice to eventually have CI coverage for both the newest AND the oldest supported versions of each supported compiler family. Otherwise you run a risk that new changes silently/inadvertently break compatibility with an older compiler version.
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.
Wait, don't you also need to change GCC_VERSION=13
in install.sh?
f3d1517
to
8394f19
Compare
@bonachea Updating the GCC_VERSION variable in the script broke the macOS CI. I am trying to fix it and found that the macOS version in the CI was very old, so I have updated that, but then there is an issue with |
The error:
This failure mode indicates the Apple linker has crashed, which almost by definition cannot be caused by anything in our code. I've never seen this particular failure mode before, but googling around I'm not at all surprised to see this appears to be yet another problem caused by Apple's brittle new linker (or at least gcc's compatibility with it), which also confirms it's not our bug. Based on that page you can possibly avoid the problem by upgrading to Xcode Command Line Tools version 15.1. Alternatively you can force use of the classic less-flaky linker by setting envvar CC: @PHHargrove |
c1b7d25
to
2cf1369
Compare
@bonachea Thanks for the suggestions. I tried both and unfortunately neither worked. I tried different combos with different OS versions, linker options, compiler options, but no combinations worked other than using an older macOS version. Its not ideal to have to use an older os, but I am locally testing on a macOS 14.5 and that everything works as expected on my machine. |
I'm not convinced that Are you certain you've fully explored that option? |
Increment ubuntu, gfortran and g++ version in CI