This is an archive of the discontinued LLVM Phabricator instance.

[clang] Add gcc-toolset-10 support (RHEL/CentOS 8)
ClosedPublic

Authored by simoll on Aug 30 2021, 2:16 AM.

Details

Summary

Clang only adds GCC paths for RHEL <= 7 'devtoolset-<N>' Software Collections (SCL). This generalizes this support to also include the 'gcc-toolset-10' SCL in RHEL/CentOS 8.

Diff Detail

Event Timeline

simoll requested review of this revision.Aug 30 2021, 2:16 AM
simoll created this revision.
simoll added a subscriber: kaz7.
stephan.dollberg accepted this revision.Aug 30 2021, 3:16 AM

LGTM but probably want to apply clang-format suggestion.

clang/lib/Driver/ToolChains/Gnu.cpp
2055

Comment only says CentOS while title also says RHEL. I assume it applies to both?

Might also want to merge with the comment below as they are kind of the same thing.

This revision is now accepted and ready to land.Aug 30 2021, 3:16 AM
This revision was landed with ongoing or failed builds.Aug 30 2021, 4:34 AM
This revision was automatically updated to reflect the committed changes.
simoll marked an inline comment as done.