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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213064 91177308-0d34-0410-b5e6-96231b3b80d8

lib/LTO/LLVMBuild.txt
lib/Target/Hexagon/LLVMBuild.txt
lib/Target/PowerPC/Disassembler/LLVMBuild.txt
lib/Target/R600/LLVMBuild.txt
tools/llvm-lto/CMakeLists.txt

index 29ed92c5f67187f80925ecda9e98c7846a035e1a..c493f436acf551a885899fed6b1841aedb749be8 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 0cf9a062b659212c45527dc9d65bf98f44b7545f..a436b6e0454ea67fad39d704c3a8cb935107ac59 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 c1011ff6a0e0b30ec09cdb06cc71533917be8933..b0978c227ae990e8492ed5342d2b9494ec818d05 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 408ed758dbed70d88980afa6b787901ddce0ae42..908872b55cd25ebeb32d39820688d8498625c60b 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 485b03d26dac111a32ac294f2a13130c6f124381..9adf6294631d1eeecbadc37e1e911cd4b59298ec 100644 (file)
@@ -1,6 +1,5 @@
 set(LLVM_LINK_COMPONENTS
   ${LLVM_TARGETS_TO_BUILD}
-  Core
   LTO
   MC
   Support