[PATCH] D73986: [nfc][mlir] Mark the MLIR tools for installation in CMake
Mehdi Amini via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 4 19:44:31 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb8004b7308b4: [mlir] Mark the MLIR tools for installation in CMake (authored by kernhanda, committed by joker-eph-DISABLED).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73986/new/
https://reviews.llvm.org/D73986
Files:
mlir/tools/mlir-cpu-runner/CMakeLists.txt
mlir/tools/mlir-cuda-runner/CMakeLists.txt
mlir/tools/mlir-translate/CMakeLists.txt
Index: mlir/tools/mlir-translate/CMakeLists.txt
===================================================================
--- mlir/tools/mlir-translate/CMakeLists.txt
+++ mlir/tools/mlir-translate/CMakeLists.txt
@@ -9,7 +9,7 @@
MLIRTranslation
MLIRSupport
)
-add_llvm_executable(mlir-translate
+add_llvm_tool(mlir-translate
mlir-translate.cpp
)
llvm_update_compile_flags(mlir-translate)
Index: mlir/tools/mlir-cuda-runner/CMakeLists.txt
===================================================================
--- mlir/tools/mlir-cuda-runner/CMakeLists.txt
+++ mlir/tools/mlir-cuda-runner/CMakeLists.txt
@@ -60,7 +60,7 @@
LLVMSupport
${CUDA_RUNTIME_LIBRARY}
)
- add_llvm_executable(mlir-cuda-runner
+ add_llvm_tool(mlir-cuda-runner
mlir-cuda-runner.cpp
)
add_dependencies(mlir-cuda-runner cuda-runtime-wrappers)
Index: mlir/tools/mlir-cpu-runner/CMakeLists.txt
===================================================================
--- mlir/tools/mlir-cpu-runner/CMakeLists.txt
+++ mlir/tools/mlir-cpu-runner/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_llvm_executable(mlir-cpu-runner
+add_llvm_tool(mlir-cpu-runner
mlir-cpu-runner.cpp
)
llvm_update_compile_flags(mlir-cpu-runner)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73986.242506.patch
Type: text/x-patch
Size: 1202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200205/db5a1c59/attachment.bin>
More information about the llvm-commits
mailing list