summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mlir/tools/mlir-cpu-runner/CMakeLists.txt2
-rw-r--r--mlir/tools/mlir-cuda-runner/CMakeLists.txt2
-rw-r--r--mlir/tools/mlir-translate/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/mlir/tools/mlir-cpu-runner/CMakeLists.txt b/mlir/tools/mlir-cpu-runner/CMakeLists.txt
index 8227ac27c96..21da9052d05 100644
--- a/mlir/tools/mlir-cpu-runner/CMakeLists.txt
+++ b/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)
diff --git a/mlir/tools/mlir-cuda-runner/CMakeLists.txt b/mlir/tools/mlir-cuda-runner/CMakeLists.txt
index 6d296a5a5c7..294ff7f0f70 100644
--- a/mlir/tools/mlir-cuda-runner/CMakeLists.txt
+++ b/mlir/tools/mlir-cuda-runner/CMakeLists.txt
@@ -60,7 +60,7 @@ if(MLIR_CUDA_RUNNER_ENABLED)
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)
diff --git a/mlir/tools/mlir-translate/CMakeLists.txt b/mlir/tools/mlir-translate/CMakeLists.txt
index 22b5ff35679..9d585579060 100644
--- a/mlir/tools/mlir-translate/CMakeLists.txt
+++ b/mlir/tools/mlir-translate/CMakeLists.txt
@@ -9,7 +9,7 @@ set(LIBS
MLIRTranslation
MLIRSupport
)
-add_llvm_executable(mlir-translate
+add_llvm_tool(mlir-translate
mlir-translate.cpp
)
llvm_update_compile_flags(mlir-translate)
OpenPOWER on IntegriCloud