-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
compilers: drop support for GCC 4.9, 5 and 6 #18127
compilers: drop support for GCC 4.9, 5 and 6 #18127
Conversation
b9b144b
to
378e8cf
Compare
LGTM but might need to wait for the next minor release as this is technically a breaking change? |
I don't feel strongly either way. I'd be amazed if there's people relying on GCC 4.9 support given it's been removed for a while. |
System GCC also counts here but yeah. If we're planning to also drop 5 and 6 maybe it's worth doing it all at the same time which is probably roughly when we'd do a minor release anyway. |
Did we support using old system GCC? I guess this could impact someone still running something like Ubuntu 14.04 LTS or RHEL7/DTS3. That would probably be an awful experience as various formulae have moved to C++17 (e.g. working on ICU 75 PR which makes C++17 a minimum deep in the dependency tree).
Makes sense. I was thinking of how many to drop but went conservative with only 4.9. Minimum GCC 7 may allow cleaning up some |
For Homebrew/core, not really. Can override it with Third party taps are however free to use their own policies and CI images. We recommend aligning with Homebrew/core but do not require it. |
I'll split out documentation changes to separate PR so this only touches EDIT: #18228 |
378e8cf
to
d9edeb2
Compare
For when we merge this, it might be worth dropping the |
Forgot about those. Will update PR to remove them. Also, unrelated to this PR, was looking at shims and noticed we still have some old Apple GCC 4.2 shims. Is there any use for these? |
Minimum Xcode we support is 7.3 so probably can be removed. I guess technically speaking a formula or build-script could rely on them my invoking |
d9edeb2
to
af08745
Compare
af08745
to
7dac30a
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.
As next release is Homebrew 4.4.0: we can remove this now. Thanks @cho-m!
brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?GCC 4.9 was removed.
GCC 5-8 are all disabled:
More in line with https://docs.brew.sh/Manpage#install-options-formulacask-