[PATCH] D73778: [mlir] Revise naming of MLIROptMain and MLIRMlirOptLib
Alex Zinenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 12 00:52:55 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa9a305716bbf: [mlir] Revise naming of MLIROptMain and MLIRMlirOptLib (authored by marbre, committed by ftynse).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73778/new/
https://reviews.llvm.org/D73778
Files:
mlir/lib/Support/CMakeLists.txt
mlir/tools/mlir-opt/CMakeLists.txt
Index: mlir/tools/mlir-opt/CMakeLists.txt
===================================================================
--- mlir/tools/mlir-opt/CMakeLists.txt
+++ mlir/tools/mlir-opt/CMakeLists.txt
@@ -5,16 +5,16 @@
set(LIB_LIBS
MLIRAnalysis
MLIRLLVMIR
- MLIROptMain
+ MLIROptLib
MLIRParser
MLIRPass
MLIRTransforms
MLIRSupport
)
-add_llvm_library(MLIRMlirOptLib
+add_llvm_library(MLIRMlirOptMain
mlir-opt.cpp
)
-target_link_libraries(MLIRMlirOptLib
+target_link_libraries(MLIRMlirOptMain
${LIB_LIBS}
)
@@ -43,7 +43,7 @@
MLIRLoopOps
MLIRNVVMIR
MLIROpenMP
- MLIROptMain
+ MLIROptLib
MLIRParser
MLIRPass
MLIRQuantizerFxpMathConfig
@@ -71,7 +71,7 @@
)
set(LIBS
MLIRIR
- MLIROptMain
+ MLIROptLib
LLVMSupport
LLVMCore
LLVMAsmParser
Index: mlir/lib/Support/CMakeLists.txt
===================================================================
--- mlir/lib/Support/CMakeLists.txt
+++ mlir/lib/Support/CMakeLists.txt
@@ -17,13 +17,13 @@
)
target_link_libraries(MLIRSupport LLVMSupport ${LLVM_PTHREAD_LIB})
-add_llvm_library(MLIROptMain
+add_llvm_library(MLIROptLib
MlirOptMain.cpp
ADDITIONAL_HEADER_DIRS
${MLIR_MAIN_INCLUDE_DIR}/mlir/Support
)
-target_link_libraries(MLIROptMain
+target_link_libraries(MLIROptLib
MLIRPass
MLIRParser
LLVMSupport
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73778.244089.patch
Type: text/x-patch
Size: 1320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200212/911fa6e7/attachment.bin>
More information about the llvm-commits
mailing list