[all-commits] [llvm/llvm-project] 4b27d9: [flang][test] Don't require .exe suffix.

Michael Kruse via All-commits all-commits at lists.llvm.org
Wed Aug 10 08:44:17 PDT 2022


  Branch: refs/heads/release/15.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b27d95d1c7ea83e63668e8e841c5f77c8a2bb03
      https://github.com/llvm/llvm-project/commit/4b27d95d1c7ea83e63668e8e841c5f77c8a2bb03
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2022-08-10 (Wed, 10 Aug 2022)

  Changed paths:
    M flang/test/Driver/linker-flags.f90

  Log Message:
  -----------
  [flang][test] Don't require .exe suffix.

The suffix is only added then the path the (lld-)link.exe is fully
resolved. Otherwise it may stay "link" or "lld-link".

On non-Windows platforms, lld-link also exists as a symbolic link to
lld, such that the full the path to lld-link might also be resolved
without .exe suffix in this case.

Note that CLANG_DEFAULT_LINKER could be set to other linkers such as
mold, in which case the test may still fail. This also applies to the
non-Windows tests that require "ld" in the linker name.

Fixes issue #56955

(cherry picked from commit 8c0979c8f7723306862b33583c6bdb1f4566a969)




More information about the All-commits mailing list