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
This commit is contained in:
NAKAMURA Takumi 2014-07-15 11:37:03 +00:00
parent be324f9832
commit 04b8b37f56
10 changed files with 4 additions and 11 deletions

View File

@ -6,7 +6,6 @@ target_link_libraries(clang-query
clangASTMatchers
clangBasic
clangDynamicASTMatchers
clangFrontend
clangQuery
clangTooling
)

View File

@ -9,9 +9,7 @@ add_clang_executable(module-map-checker
target_link_libraries(module-map-checker
clangAST
clangBasic
clangDriver
clangFrontend
clangLex
clangRewriteFrontend
clangTooling
)

View File

@ -1,7 +1,6 @@
set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
Interpreter
JIT
Support
native

View File

@ -1,5 +1,4 @@
set(LLVM_LINK_COMPONENTS
MC
Support
)

View File

@ -11,7 +11,6 @@ set( LLVM_LINK_COMPONENTS
MCParser
ObjCARCOpts
Option
ProfileData
ScalarOpts
Support
TransformUtils

View 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

View 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

View 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

View 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

View File

@ -1,6 +1,5 @@
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Core
LTO
MC
Support