Skip to content

Commit 0741f64

Browse files
authored
Merge pull request #20590 from compnerd/link-deps
tools: remove unnecessary LLVM_COMPONENT linkage
2 parents 9052579 + e3e4d1b commit 0741f64

File tree

9 files changed

+0
-19
lines changed

9 files changed

+0
-19
lines changed

tools/driver/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ add_swift_host_tool(swift
77
LINK_LIBRARIES
88
swiftDriver
99
swiftFrontendTool
10-
LLVM_COMPONENT_DEPENDS
11-
DebugInfoCodeView
1210
SWIFT_COMPONENT compiler
1311
)
1412

tools/lldb-moduleimport-test/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ add_swift_host_tool(lldb-moduleimport-test
22
lldb-moduleimport-test.cpp
33
LINK_LIBRARIES
44
swiftASTSectionImporter swiftFrontend swiftClangImporter
5-
LLVM_COMPONENT_DEPENDS
6-
DebugInfoCodeView
75
SWIFT_COMPONENT tools
86
)
97

tools/sil-func-extractor/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@ add_swift_host_tool(sil-func-extractor
66
swiftSILOptimizer
77
swiftSerialization
88
swiftClangImporter
9-
LLVM_COMPONENT_DEPENDS
10-
DebugInfoCodeView
119
SWIFT_COMPONENT tools
1210
)

tools/sil-llvm-gen/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,5 @@ add_swift_host_tool(sil-llvm-gen
88
# Clang libraries included to appease the linker on linux.
99
clangBasic
1010
clangCodeGen
11-
LLVM_COMPONENT_DEPENDS
12-
DebugInfoCodeView
1311
SWIFT_COMPONENT tools
1412
)

tools/sil-nm/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@ add_swift_host_tool(sil-nm
66
swiftSILOptimizer
77
swiftSerialization
88
swiftClangImporter
9-
LLVM_COMPONENT_DEPENDS
10-
DebugInfoCodeView
119
SWIFT_COMPONENT tools
1210
)

tools/sil-opt/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,5 @@ add_swift_host_tool(sil-opt
88
# Clang libraries included to appease the linker on linux.
99
clangBasic
1010
clangCodeGen
11-
LLVM_COMPONENT_DEPENDS
12-
DebugInfoCodeView
1311
SWIFT_COMPONENT tools
1412
)

tools/sil-passpipeline-dumper/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,5 @@ add_swift_host_tool(sil-passpipeline-dumper
99
# FIXME: Circular dependencies require re-listing these libraries.
1010
swiftSema
1111
swiftAST
12-
LLVM_COMPONENT_DEPENDS
13-
DebugInfoCodeView
1412
SWIFT_COMPONENT tools
1513
)

tools/swift-ide-test/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ add_swift_host_tool(swift-ide-test
66
swiftDriver
77
swiftFrontend
88
swiftIDE
9-
LLVM_COMPONENT_DEPENDS
10-
DebugInfoCodeView
119
SWIFT_COMPONENT tools
1210
)
1311

tools/swift-llvm-opt/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,5 @@ add_swift_host_tool(swift-llvm-opt
1111
clangBasic
1212
clangCodeGen
1313

14-
LLVM_COMPONENT_DEPENDS
15-
DebugInfoCodeView
16-
1714
SWIFT_COMPONENT tools
1815
)

0 commit comments

Comments
 (0)