[all-commits] [llvm/llvm-project] a1e656: [lit] Stop using PATH to lookup clang/lld/lldb unl...

James Henderson via All-commits all-commits at lists.llvm.org
Tue May 18 02:45:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a1e6565855784988aa6302d6672705baf2a84ff2
      https://github.com/llvm/llvm-project/commit/a1e6565855784988aa6302d6672705baf2a84ff2
  Author: James Henderson <james.henderson at sony.com>
  Date:   2021-05-18 (Tue, 18 May 2021)

  Changed paths:
    M lldb/test/Shell/helper/toolchain.py
    M llvm/utils/lit/lit/llvm/config.py

  Log Message:
  -----------
  [lit] Stop using PATH to lookup clang/lld/lldb unless requested

This patch stops lit from looking on the PATH for clang, lld and other
users of use_llvm_tool (currently only the debuginfo-tests) unless the
call explicitly requests to opt into using the PATH. When not opting in,
tests will only look in the build directory.

See the mailing list thread starting from
https://lists.llvm.org/pipermail/llvm-dev/2021-May/150421.html.

See the review for details of why decisions were made about when still
to use the PATH.

Reviewed by: thopre

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




More information about the All-commits mailing list