[all-commits] [llvm/llvm-project] 86339e: [compiler-rt] [test] Add an .exe suffix for unit t...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Apr 25 11:10:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86339ef088e9aac6cf52cf9022d7a5bd144d4c42
      https://github.com/llvm/llvm-project/commit/86339ef088e9aac6cf52cf9022d7a5bd144d4c42
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-04-25 (Tue, 25 Apr 2023)

  Changed paths:
    M compiler-rt/cmake/Modules/AddCompilerRT.cmake

  Log Message:
  -----------
  [compiler-rt] [test] Add an .exe suffix for unit test executables on MinGW

Previously, an .exe suffix was only added for MSVC configurations.

In practice, an .exe suffix is added implicitly by MinGW toolchains
if the output is a suffixless file name. However this can cause lots
of subtle build system confusion, when it's not generating the file it
expected.

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




More information about the All-commits mailing list