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

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 11:10:06 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG86339ef088e9: [compiler-rt] [test] Add an .exe suffix for unit test executables on MinGW (authored by mstorsjo).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149029

Files:
  compiler-rt/cmake/Modules/AddCompilerRT.cmake


Index: compiler-rt/cmake/Modules/AddCompilerRT.cmake
===================================================================
--- compiler-rt/cmake/Modules/AddCompilerRT.cmake
+++ compiler-rt/cmake/Modules/AddCompilerRT.cmake
@@ -508,7 +508,7 @@
   set(output_dir "${output_dir}/${CMAKE_CFG_INTDIR}")
   file(MAKE_DIRECTORY "${output_dir}")
   set(output_bin "${output_dir}/${test_name}")
-  if(MSVC)
+  if(WIN32)
     set(output_bin "${output_bin}.exe")
   endif()
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149029.516849.patch
Type: text/x-patch
Size: 463 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230425/f0c68888/attachment.bin>


More information about the llvm-commits mailing list