[PATCH] D125499: Enabling the detection of devtoolset-11 toolchain.
Kamau Bridgeman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 17 05:57:53 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG99639e5a3e6e: Enabling the detection of devtoolset-11 toolchain. (authored by kamaub).
Changed prior to commit:
https://reviews.llvm.org/D125499?vs=429059&id=430013#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125499/new/
https://reviews.llvm.org/D125499
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
@@ -2150,7 +2150,9 @@
// Non-Solaris is much simpler - most systems just go with "/usr".
if (SysRoot.empty() && TargetTriple.getOS() == llvm::Triple::Linux) {
// Yet, still look for RHEL/CentOS devtoolsets and gcc-toolsets.
+ Prefixes.push_back("/opt/rh/gcc-toolset-11/root/usr");
Prefixes.push_back("/opt/rh/gcc-toolset-10/root/usr");
+ Prefixes.push_back("/opt/rh/devtoolset-11/root/usr");
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");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125499.430013.patch
Type: text/x-patch
Size: 780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220517/5ffaa8e7/attachment-0001.bin>
More information about the cfe-commits
mailing list