-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
linux: use preferred_gcc instead of gcc #10569
Conversation
Review period will end on 2021-02-09 at 19:09:44 UTC. |
I need to run some sanity checks locally before shipping this. Proposed by @sjackman |
In -@undeclared_deps -= ["gcc", "glibc"]
+@undeclared_deps -= [preferred_compiler, "glibc"] |
In -["glibc", "gcc", "xorg"].each do |f|
+["glibc", preferred_compiler, "xorg"].each do |f| |
f32799c
to
d4e7f30
Compare
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.
👍🏻 once this is 💚. I really like how minimal and clean this change is ❤️
Review period ended. |
I had to stub gcc@5 in the tests to make it pass. That's the only test change I had to make. |
I did some quick tests in the Currently I need to think about migration issues for existing users that have |
This sort of works! Once |
Regarding the transition phase from gcc to gcc-5 in linuxbrew-core: stuff might get broken for complex cases, especially for people which do not have gcc-5 installed. But I think we can guide them to run some commands manually to clean the mess up if anything goes wrong. But your tests tend to demonstrate that there will be no issue. |
Thank you, Michka! |
brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?brew man
locally and committed any changes?