Prune Redundant libdeps in CMake's target_link_libraries and LLVMBuild.txt.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 15 Jul 2014 11:37:03 +0000 (11:37 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 15 Jul 2014 11:37:03 +0000 (11:37 +0000)
I checked this with Release+Asserts on x86_64-mingw32. Please restore partially if this were overkill.

llvm-svn: 213064

clang-tools-extra/clang-query/tool/CMakeLists.txt
clang-tools-extra/module-map-checker/CMakeLists.txt
clang/examples/clang-interpreter/CMakeLists.txt
clang/lib/Analysis/CMakeLists.txt
clang/tools/driver/CMakeLists.txt
llvm/lib/LTO/LLVMBuild.txt
llvm/lib/Target/Hexagon/LLVMBuild.txt
llvm/lib/Target/PowerPC/Disassembler/LLVMBuild.txt
llvm/lib/Target/R600/LLVMBuild.txt
llvm/tools/llvm-lto/CMakeLists.txt

index 1a7a10b..f6c98fe 100644 (file)
@@ -6,7 +6,6 @@ target_link_libraries(clang-query
   clangASTMatchers
   clangBasic
   clangDynamicASTMatchers
-  clangFrontend
   clangQuery
   clangTooling
   )
index cb7c6fd..bb7056a 100644 (file)
@@ -9,9 +9,7 @@ add_clang_executable(module-map-checker
 target_link_libraries(module-map-checker
   clangAST
   clangBasic
-  clangDriver
   clangFrontend
   clangLex
-  clangRewriteFrontend
   clangTooling
   )
index d454539..3c66881 100644 (file)
@@ -1,7 +1,6 @@
 set(LLVM_LINK_COMPONENTS
   Core
   ExecutionEngine
-  Interpreter
   JIT
   Support
   native
index 9de4fe3..461ffb0 100644 (file)
@@ -1,5 +1,4 @@
 set(LLVM_LINK_COMPONENTS
-  MC
   Support
   )
 
index 910732e..805aebf 100644 (file)
@@ -11,7 +11,6 @@ set( LLVM_LINK_COMPONENTS
   MCParser
   ObjCARCOpts
   Option
-  ProfileData
   ScalarOpts
   Support
   TransformUtils
index 29ed92c..c493f43 100644 (file)
@@ -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
index 0cf9a06..a436b6e 100644 (file)
@@ -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
index c1011ff..b0978c2 100644 (file)
@@ -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
index 408ed75..908872b 100644 (file)
@@ -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
index 485b03d..9adf629 100644 (file)
@@ -1,6 +1,5 @@
 set(LLVM_LINK_COMPONENTS
   ${LLVM_TARGETS_TO_BUILD}
-  Core
   LTO
   MC
   Support