[PATCH] D125499: Enabling the detection of devtoolset-11 toolchain.

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 12 16:59:11 PDT 2022


MaskRay added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Gnu.cpp:2156
     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");
----------------
The detection is wasted every Linux user (even if they don't use RedHat/Fedora). Some may need to be refactored to detect `/opt/rh` first. Some ancient devtoolset-* may be deleted now.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D125499/new/

https://reviews.llvm.org/D125499



More information about the cfe-commits mailing list