[all-commits] [llvm/llvm-project] 9f9772: [clang][driver] Dynamically select gcc-toolset/dev...

Timm Bäder via All-commits all-commits at lists.llvm.org
Thu Jun 2 23:18:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f97720268911abae2ad9d90e270358db234a1c1
      https://github.com/llvm/llvm-project/commit/9f97720268911abae2ad9d90e270358db234a1c1
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-06-03 (Fri, 03 Jun 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Gnu.cpp
    M clang/unittests/Driver/ToolChainTest.cpp

  Log Message:
  -----------
  [clang][driver] Dynamically select gcc-toolset/devtoolset

Instead of adding all devtoolset and gcc-toolset prefixes to the list of
prefixes, just scan the /opt/rh/ directory for the one with the highest
version number and only add that one.

Differential Revision: https://reviews.llvm.org/D125862




More information about the All-commits mailing list