[all-commits] [llvm/llvm-project] e180cc: [Driver][test] Make RISCV tests robust with PATH=

Shao-Ce SUN via All-commits all-commits at lists.llvm.org
Wed Jun 15 07:25:38 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e180cc5ff1a133c533e68bb92024d2455d5e6978
  Author: Shao-Ce SUN <sunshaoce at iscas.ac.cn>
  Date:   2022-06-15 (Wed, 15 Jun 2022)

  Changed paths:
    M clang/test/Driver/riscv64-toolchain.c

  Log Message:
  [Driver][test] Make RISCV tests robust with PATH=

When `riscv64-unknown-linux-gnu-ld` is in the PATH, `clang -### -fuse-ld=ld --target=riscv64-unknown-linux-gnu` will use unknown-linux-gnu-ld first, which causes the error in the lit test.

Reviewed By: MaskRay

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

More information about the All-commits mailing list