forked from OSchip/llvm-project
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:
parent
be324f9832
commit
04b8b37f56
|
@ -6,7 +6,6 @@ target_link_libraries(clang-query
|
|||
clangASTMatchers
|
||||
clangBasic
|
||||
clangDynamicASTMatchers
|
||||
clangFrontend
|
||||
clangQuery
|
||||
clangTooling
|
||||
)
|
||||
|
|
|
@ -9,9 +9,7 @@ add_clang_executable(module-map-checker
|
|||
target_link_libraries(module-map-checker
|
||||
clangAST
|
||||
clangBasic
|
||||
clangDriver
|
||||
clangFrontend
|
||||
clangLex
|
||||
clangRewriteFrontend
|
||||
clangTooling
|
||||
)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
set(LLVM_LINK_COMPONENTS
|
||||
Core
|
||||
ExecutionEngine
|
||||
Interpreter
|
||||
JIT
|
||||
Support
|
||||
native
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
set(LLVM_LINK_COMPONENTS
|
||||
MC
|
||||
Support
|
||||
)
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@ set( LLVM_LINK_COMPONENTS
|
|||
MCParser
|
||||
ObjCARCOpts
|
||||
Option
|
||||
ProfileData
|
||||
ScalarOpts
|
||||
Support
|
||||
TransformUtils
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
set(LLVM_LINK_COMPONENTS
|
||||
${LLVM_TARGETS_TO_BUILD}
|
||||
Core
|
||||
LTO
|
||||
MC
|
||||
Support
|
||||
|
|
Loading…
Reference in New Issue