[llvm] 4eaccea - [NFC] [DirectX backend] copy dxil-dis as exe file on windows
Xiang Li via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 13 16:35:39 PST 2022
Author: Xiang Li
Date: 2022-12-14T00:32:39-05:00
New Revision: 4eaccea4f154e79102942debd75106f4daf2e535
URL: https://github.com/llvm/llvm-project/commit/4eaccea4f154e79102942debd75106f4daf2e535
DIFF: https://github.com/llvm/llvm-project/commit/4eaccea4f154e79102942debd75106f4daf2e535.diff
LOG: [NFC] [DirectX backend] copy dxil-dis as exe file on windows
Without .exe in the name on windows, the test not work.
Differential Revision: https://reviews.llvm.org/D139765
Added:
Modified:
llvm/tools/dxil-dis/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/tools/dxil-dis/CMakeLists.txt b/llvm/tools/dxil-dis/CMakeLists.txt
index 2859318e6e7d..9addf108a861 100644
--- a/llvm/tools/dxil-dis/CMakeLists.txt
+++ b/llvm/tools/dxil-dis/CMakeLists.txt
@@ -17,7 +17,7 @@ endif ()
if (DXIL_DIS)
add_custom_target(dxil-dis
- COMMAND ${CMAKE_COMMAND} -E ${LLVM_LINK_OR_COPY} "${DXIL_DIS}" "${LLVM_RUNTIME_OUTPUT_INTDIR}/dxil-dis")
+ COMMAND ${CMAKE_COMMAND} -E ${LLVM_LINK_OR_COPY} "${DXIL_DIS}" "${LLVM_RUNTIME_OUTPUT_INTDIR}/dxil-dis${CMAKE_EXECUTABLE_SUFFIX}")
return()
endif ()
More information about the llvm-commits
mailing list