[PATCH] D92792: [clang] - Also look for devtoolset-10
Stephan Dollberg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 7 15:06:13 PST 2020
stephan.dollberg created this revision.
stephan.dollberg added reviewers: phosek, chandlerc.
stephan.dollberg requested review of this revision.
Herald added a project: clang.
devtoolset-10 has just been released so look for it as well.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D92792
Files:
clang/lib/Driver/ToolChains/Gnu.cpp
Index: clang/lib/Driver/ToolChains/Gnu.cpp
===================================================================
--- clang/lib/Driver/ToolChains/Gnu.cpp
+++ clang/lib/Driver/ToolChains/Gnu.cpp
@@ -2034,6 +2034,7 @@
// Non-Solaris is much simpler - most systems just go with "/usr".
if (SysRoot.empty() && TargetTriple.getOS() == llvm::Triple::Linux) {
// Yet, still look for RHEL devtoolsets.
+ Prefixes.push_back("/opt/rh/devtoolset-10/root/usr");
Prefixes.push_back("/opt/rh/devtoolset-9/root/usr");
Prefixes.push_back("/opt/rh/devtoolset-8/root/usr");
Prefixes.push_back("/opt/rh/devtoolset-7/root/usr");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92792.310030.patch
Type: text/x-patch
Size: 635 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201207/adc135d2/attachment.bin>
More information about the cfe-commits
mailing list