diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-07-15 11:37:03 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-07-15 11:37:03 +0000 |
commit | 04b8b37f564bdddd758348df8e844f40f2d1627b (patch) | |
tree | b4af695273df896b836a0dc67523f102c9be7cb8 | |
parent | be324f983238de812cab748c61fb62c748c8469b (diff) | |
download | bcm5719-llvm-04b8b37f564bdddd758348df8e844f40f2d1627b.tar.gz bcm5719-llvm-04b8b37f564bdddd758348df8e844f40f2d1627b.zip |
Prune Redundant libdeps in CMake's target_link_libraries and LLVMBuild.txt.
I checked this with Release+Asserts on x86_64-mingw32. Please restore partially if this were overkill.
llvm-svn: 213064
-rw-r--r-- | clang-tools-extra/clang-query/tool/CMakeLists.txt | 1 | ||||
-rw-r--r-- | clang-tools-extra/module-map-checker/CMakeLists.txt | 2 | ||||
-rw-r--r-- | clang/examples/clang-interpreter/CMakeLists.txt | 1 | ||||
-rw-r--r-- | clang/lib/Analysis/CMakeLists.txt | 1 | ||||
-rw-r--r-- | clang/tools/driver/CMakeLists.txt | 1 | ||||
-rw-r--r-- | llvm/lib/LTO/LLVMBuild.txt | 2 | ||||
-rw-r--r-- | llvm/lib/Target/Hexagon/LLVMBuild.txt | 2 | ||||
-rw-r--r-- | llvm/lib/Target/PowerPC/Disassembler/LLVMBuild.txt | 2 | ||||
-rw-r--r-- | llvm/lib/Target/R600/LLVMBuild.txt | 2 | ||||
-rw-r--r-- | llvm/tools/llvm-lto/CMakeLists.txt | 1 |
10 files changed, 4 insertions, 11 deletions
diff --git a/clang-tools-extra/clang-query/tool/CMakeLists.txt b/clang-tools-extra/clang-query/tool/CMakeLists.txt index 1a7a10b45e0..f6c98fea85e 100644 --- a/clang-tools-extra/clang-query/tool/CMakeLists.txt +++ b/clang-tools-extra/clang-query/tool/CMakeLists.txt @@ -6,7 +6,6 @@ target_link_libraries(clang-query clangASTMatchers clangBasic clangDynamicASTMatchers - clangFrontend clangQuery clangTooling ) diff --git a/clang-tools-extra/module-map-checker/CMakeLists.txt b/clang-tools-extra/module-map-checker/CMakeLists.txt index cb7c6fd69f3..bb7056a06ad 100644 --- a/clang-tools-extra/module-map-checker/CMakeLists.txt +++ b/clang-tools-extra/module-map-checker/CMakeLists.txt @@ -9,9 +9,7 @@ add_clang_executable(module-map-checker target_link_libraries(module-map-checker clangAST clangBasic - clangDriver clangFrontend clangLex - clangRewriteFrontend clangTooling ) diff --git a/clang/examples/clang-interpreter/CMakeLists.txt b/clang/examples/clang-interpreter/CMakeLists.txt index d454539fdac..3c66881d026 100644 --- a/clang/examples/clang-interpreter/CMakeLists.txt +++ b/clang/examples/clang-interpreter/CMakeLists.txt @@ -1,7 +1,6 @@ set(LLVM_LINK_COMPONENTS Core ExecutionEngine - Interpreter JIT Support native diff --git a/clang/lib/Analysis/CMakeLists.txt b/clang/lib/Analysis/CMakeLists.txt index 9de4fe34ef5..461ffb0900b 100644 --- a/clang/lib/Analysis/CMakeLists.txt +++ b/clang/lib/Analysis/CMakeLists.txt @@ -1,5 +1,4 @@ set(LLVM_LINK_COMPONENTS - MC Support ) diff --git a/clang/tools/driver/CMakeLists.txt b/clang/tools/driver/CMakeLists.txt index 910732ece6c..805aebfac3a 100644 --- a/clang/tools/driver/CMakeLists.txt +++ b/clang/tools/driver/CMakeLists.txt @@ -11,7 +11,6 @@ set( LLVM_LINK_COMPONENTS MCParser ObjCARCOpts Option - ProfileData ScalarOpts Support TransformUtils diff --git a/llvm/lib/LTO/LLVMBuild.txt b/llvm/lib/LTO/LLVMBuild.txt index 29ed92c5f67..c493f436acf 100644 --- a/llvm/lib/LTO/LLVMBuild.txt +++ b/llvm/lib/LTO/LLVMBuild.txt @@ -19,4 +19,4 @@ type = Library name = LTO parent = Libraries -required_libraries = BitReader BitWriter Core IPA IPO InstCombine Linker MC MCParser ObjCARC Object Scalar Support Target TransformUtils +required_libraries = BitReader BitWriter Core IPA IPO InstCombine Linker MC ObjCARC Object Scalar Support Target TransformUtils diff --git a/llvm/lib/Target/Hexagon/LLVMBuild.txt b/llvm/lib/Target/Hexagon/LLVMBuild.txt index 0cf9a062b65..a436b6e0454 100644 --- a/llvm/lib/Target/Hexagon/LLVMBuild.txt +++ b/llvm/lib/Target/Hexagon/LLVMBuild.txt @@ -28,5 +28,5 @@ has_asmprinter = 1 type = Library name = HexagonCodeGen parent = Hexagon -required_libraries = Analysis AsmPrinter CodeGen Core HexagonAsmPrinter HexagonDesc HexagonInfo MC Scalar SelectionDAG Support Target TransformUtils +required_libraries = Analysis AsmPrinter CodeGen Core HexagonAsmPrinter HexagonDesc HexagonInfo MC SelectionDAG Support Target add_to_library_groups = Hexagon diff --git a/llvm/lib/Target/PowerPC/Disassembler/LLVMBuild.txt b/llvm/lib/Target/PowerPC/Disassembler/LLVMBuild.txt index c1011ff6a0e..b0978c227ae 100644 --- a/llvm/lib/Target/PowerPC/Disassembler/LLVMBuild.txt +++ b/llvm/lib/Target/PowerPC/Disassembler/LLVMBuild.txt @@ -19,5 +19,5 @@ type = Library name = PowerPCDisassembler parent = PowerPC -required_libraries = MC PowerPCDesc PowerPCInfo Support +required_libraries = MC PowerPCInfo Support add_to_library_groups = PowerPC diff --git a/llvm/lib/Target/R600/LLVMBuild.txt b/llvm/lib/Target/R600/LLVMBuild.txt index 408ed758dbe..908872b55cd 100644 --- a/llvm/lib/Target/R600/LLVMBuild.txt +++ b/llvm/lib/Target/R600/LLVMBuild.txt @@ -28,5 +28,5 @@ has_asmprinter = 1 type = Library name = R600CodeGen parent = R600 -required_libraries = Analysis AsmPrinter CodeGen Core MC R600AsmPrinter R600Desc R600Info Scalar SelectionDAG Support Target TransformUtils +required_libraries = Analysis AsmPrinter CodeGen Core MC R600AsmPrinter R600Desc R600Info Scalar SelectionDAG Support Target add_to_library_groups = R600 diff --git a/llvm/tools/llvm-lto/CMakeLists.txt b/llvm/tools/llvm-lto/CMakeLists.txt index 485b03d26da..9adf6294631 100644 --- a/llvm/tools/llvm-lto/CMakeLists.txt +++ b/llvm/tools/llvm-lto/CMakeLists.txt @@ -1,6 +1,5 @@ set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} - Core LTO MC Support |