From: River Riddle Date: Thu, 30 May 2019 15:23:49 +0000 (-0700) Subject: Replace usages of 'add_executable' with 'add_llvm_executable'. X-Git-Tag: llvmorg-11-init~1466^2~1551 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11e485ca19fca0c41818d3dd4fd2a3551abc4b72;p=platform%2Fupstream%2Fllvm.git Replace usages of 'add_executable' with 'add_llvm_executable'. -- PiperOrigin-RevId: 250691487 --- diff --git a/mlir/examples/Linalg/Linalg1/lib/CMakeLists.txt b/mlir/examples/Linalg/Linalg1/lib/CMakeLists.txt index 54bf01f..064d0e8 100644 --- a/mlir/examples/Linalg/Linalg1/lib/CMakeLists.txt +++ b/mlir/examples/Linalg/Linalg1/lib/CMakeLists.txt @@ -52,7 +52,7 @@ add_llvm_library(Linalg1DialectConstruction ) target_link_libraries(Linalg1DialectConstruction PUBLIC Linalg1) -add_executable(linalg1-opt +add_llvm_executable(linalg1-opt DialectRegistration.cpp ) llvm_update_compile_flags(linalg1-opt) diff --git a/mlir/test/EDSC/CMakeLists.txt b/mlir/test/EDSC/CMakeLists.txt index 01fc5ec..17dda5c 100644 --- a/mlir/test/EDSC/CMakeLists.txt +++ b/mlir/test/EDSC/CMakeLists.txt @@ -1,4 +1,4 @@ -add_executable(mlir-edsc-builder-api-test +add_llvm_executable(mlir-edsc-builder-api-test builder-api-test.cpp ) diff --git a/mlir/test/SDBM/CMakeLists.txt b/mlir/test/SDBM/CMakeLists.txt index 321a37d..d1ced9a 100644 --- a/mlir/test/SDBM/CMakeLists.txt +++ b/mlir/test/SDBM/CMakeLists.txt @@ -1,4 +1,4 @@ -add_executable(mlir-sdbm-api-test +add_llvm_executable(mlir-sdbm-api-test sdbm-api-test.cpp ) diff --git a/mlir/test/TestDialect/CMakeLists.txt b/mlir/test/TestDialect/CMakeLists.txt index b0b5027..83075f6 100644 --- a/mlir/test/TestDialect/CMakeLists.txt +++ b/mlir/test/TestDialect/CMakeLists.txt @@ -16,7 +16,7 @@ target_link_libraries(MLIRTestDialect LLVMSupport ) -add_executable(mlir-test-opt +add_llvm_executable(mlir-test-opt ${MLIR_MAIN_SRC_DIR}/../tools/mlir-opt/mlir-opt.cpp ) llvm_update_compile_flags(mlir-test-opt) diff --git a/mlir/tools/mlir-cpu-runner/CMakeLists.txt b/mlir/tools/mlir-cpu-runner/CMakeLists.txt index 9460264..b680c5c 100644 --- a/mlir/tools/mlir-cpu-runner/CMakeLists.txt +++ b/mlir/tools/mlir-cpu-runner/CMakeLists.txt @@ -23,7 +23,7 @@ add_llvm_library(MLIRCPURunnerLib ) target_link_libraries(MLIRCPURunnerLib ${LIBS}) -add_executable(mlir-cpu-runner +add_llvm_executable(mlir-cpu-runner mlir-cpu-runner.cpp ) llvm_update_compile_flags(mlir-cpu-runner) diff --git a/mlir/tools/mlir-opt/CMakeLists.txt b/mlir/tools/mlir-opt/CMakeLists.txt index 276be6a..d671594 100644 --- a/mlir/tools/mlir-opt/CMakeLists.txt +++ b/mlir/tools/mlir-opt/CMakeLists.txt @@ -34,7 +34,7 @@ set(LIBS MLIRSupport MLIRVectorOps ) -add_executable(mlir-opt +add_llvm_executable(mlir-opt mlir-opt.cpp ) llvm_update_compile_flags(mlir-opt) diff --git a/mlir/tools/mlir-translate/CMakeLists.txt b/mlir/tools/mlir-translate/CMakeLists.txt index 3d4e96a..b22d988 100644 --- a/mlir/tools/mlir-translate/CMakeLists.txt +++ b/mlir/tools/mlir-translate/CMakeLists.txt @@ -12,7 +12,7 @@ set(LIBS MLIRSupport MLIRVectorOps ) -add_executable(mlir-translate +add_llvm_executable(mlir-translate mlir-translate.cpp ) llvm_update_compile_flags(mlir-translate)