[PATCH] D119219: [llvm-rc]: Find <target>-clang over just clang

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 9 00:14:06 PST 2022


MaskRay added a comment.

> This is so that we can have a .cfg file for <target> and configure sysroot and other important flags.

I know nearly nothing about llvm-rc... but I wonder whether there is a better way.

For the GNU driver part of Clang, the general direction is to move away from `$triple-$program`.... 3452a0d8c17f7166f479706b293caf6ac76ffd90 <https://reviews.llvm.org/rG3452a0d8c17f7166f479706b293caf6ac76ffd90>

https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-b-prefix "Search $prefix$file for executables, libraries, and data files. If $prefix is a directory, search $prefix/$file"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119219



More information about the llvm-commits mailing list