Skip to content

tools: remove unnecessary LLVM_COMPONENT linkage #20590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions tools/driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ add_swift_host_tool(swift
LINK_LIBRARIES
swiftDriver
swiftFrontendTool
LLVM_COMPONENT_DEPENDS
DebugInfoCodeView
SWIFT_COMPONENT compiler
)

Expand Down
2 changes: 0 additions & 2 deletions tools/lldb-moduleimport-test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ add_swift_host_tool(lldb-moduleimport-test
lldb-moduleimport-test.cpp
LINK_LIBRARIES
swiftASTSectionImporter swiftFrontend swiftClangImporter
LLVM_COMPONENT_DEPENDS
DebugInfoCodeView
SWIFT_COMPONENT tools
)

2 changes: 0 additions & 2 deletions tools/sil-func-extractor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ add_swift_host_tool(sil-func-extractor
swiftSILOptimizer
swiftSerialization
swiftClangImporter
LLVM_COMPONENT_DEPENDS
DebugInfoCodeView
SWIFT_COMPONENT tools
)
2 changes: 0 additions & 2 deletions tools/sil-llvm-gen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@ add_swift_host_tool(sil-llvm-gen
# Clang libraries included to appease the linker on linux.
clangBasic
clangCodeGen
LLVM_COMPONENT_DEPENDS
DebugInfoCodeView
SWIFT_COMPONENT tools
)
2 changes: 0 additions & 2 deletions tools/sil-nm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ add_swift_host_tool(sil-nm
swiftSILOptimizer
swiftSerialization
swiftClangImporter
LLVM_COMPONENT_DEPENDS
DebugInfoCodeView
SWIFT_COMPONENT tools
)
2 changes: 0 additions & 2 deletions tools/sil-opt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@ add_swift_host_tool(sil-opt
# Clang libraries included to appease the linker on linux.
clangBasic
clangCodeGen
LLVM_COMPONENT_DEPENDS
DebugInfoCodeView
SWIFT_COMPONENT tools
)
2 changes: 0 additions & 2 deletions tools/sil-passpipeline-dumper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@ add_swift_host_tool(sil-passpipeline-dumper
# FIXME: Circular dependencies require re-listing these libraries.
swiftSema
swiftAST
LLVM_COMPONENT_DEPENDS
DebugInfoCodeView
SWIFT_COMPONENT tools
)
2 changes: 0 additions & 2 deletions tools/swift-ide-test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ add_swift_host_tool(swift-ide-test
swiftDriver
swiftFrontend
swiftIDE
LLVM_COMPONENT_DEPENDS
DebugInfoCodeView
SWIFT_COMPONENT tools
)

Expand Down
3 changes: 0 additions & 3 deletions tools/swift-llvm-opt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,5 @@ add_swift_host_tool(swift-llvm-opt
clangBasic
clangCodeGen

LLVM_COMPONENT_DEPENDS
DebugInfoCodeView

SWIFT_COMPONENT tools
)