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
|
clangASTMatchers
|
||||||
clangBasic
|
clangBasic
|
||||||
clangDynamicASTMatchers
|
clangDynamicASTMatchers
|
||||||
clangFrontend
|
|
||||||
clangQuery
|
clangQuery
|
||||||
clangTooling
|
clangTooling
|
||||||
)
|
)
|
||||||
|
|
|
@ -9,9 +9,7 @@ add_clang_executable(module-map-checker
|
||||||
target_link_libraries(module-map-checker
|
target_link_libraries(module-map-checker
|
||||||
clangAST
|
clangAST
|
||||||
clangBasic
|
clangBasic
|
||||||
clangDriver
|
|
||||||
clangFrontend
|
clangFrontend
|
||||||
clangLex
|
clangLex
|
||||||
clangRewriteFrontend
|
|
||||||
clangTooling
|
clangTooling
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
set(LLVM_LINK_COMPONENTS
|
set(LLVM_LINK_COMPONENTS
|
||||||
Core
|
Core
|
||||||
ExecutionEngine
|
ExecutionEngine
|
||||||
Interpreter
|
|
||||||
JIT
|
JIT
|
||||||
Support
|
Support
|
||||||
native
|
native
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
set(LLVM_LINK_COMPONENTS
|
set(LLVM_LINK_COMPONENTS
|
||||||
MC
|
|
||||||
Support
|
Support
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,6 @@ set( LLVM_LINK_COMPONENTS
|
||||||
MCParser
|
MCParser
|
||||||
ObjCARCOpts
|
ObjCARCOpts
|
||||||
Option
|
Option
|
||||||
ProfileData
|
|
||||||
ScalarOpts
|
ScalarOpts
|
||||||
Support
|
Support
|
||||||
TransformUtils
|
TransformUtils
|
||||||
|
|
|
@ -19,4 +19,4 @@
|
||||||
type = Library
|
type = Library
|
||||||
name = LTO
|
name = LTO
|
||||||
parent = Libraries
|
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
|
type = Library
|
||||||
name = HexagonCodeGen
|
name = HexagonCodeGen
|
||||||
parent = Hexagon
|
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
|
add_to_library_groups = Hexagon
|
||||||
|
|
|
@ -19,5 +19,5 @@
|
||||||
type = Library
|
type = Library
|
||||||
name = PowerPCDisassembler
|
name = PowerPCDisassembler
|
||||||
parent = PowerPC
|
parent = PowerPC
|
||||||
required_libraries = MC PowerPCDesc PowerPCInfo Support
|
required_libraries = MC PowerPCInfo Support
|
||||||
add_to_library_groups = PowerPC
|
add_to_library_groups = PowerPC
|
||||||
|
|
|
@ -28,5 +28,5 @@ has_asmprinter = 1
|
||||||
type = Library
|
type = Library
|
||||||
name = R600CodeGen
|
name = R600CodeGen
|
||||||
parent = R600
|
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
|
add_to_library_groups = R600
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
set(LLVM_LINK_COMPONENTS
|
set(LLVM_LINK_COMPONENTS
|
||||||
${LLVM_TARGETS_TO_BUILD}
|
${LLVM_TARGETS_TO_BUILD}
|
||||||
Core
|
|
||||||
LTO
|
LTO
|
||||||
MC
|
MC
|
||||||
Support
|
Support
|
||||||
|
|
Loading…
Reference in New Issue