Skip to content

Commit 2045cfc

Browse files
committed
SWBUtil should not link SwiftDriver
1 parent d92ea0b commit 2045cfc

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ let package = Package(
203203
name: "SWBTaskConstruction",
204204
dependencies: [
205205
"SWBCore",
206+
"SWBMacro",
206207
"SWBUtil",
207208
.product(name: "SwiftDriver", package: "swift-driver")
208209
],
@@ -219,7 +220,6 @@ let package = Package(
219220
"SWBCSupport",
220221
"SWBLibc",
221222
.product(name: "ArgumentParser", package: "swift-argument-parser"),
222-
.product(name: "SwiftDriver", package: "swift-driver"),
223223
.product(name: "SystemPackage", package: "swift-system", condition: .when(platforms: [.linux, .openbsd, .android, .windows, .custom("freebsd")])),
224224
],
225225
exclude: ["CMakeLists.txt"],

Sources/SWBMacro/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ add_library(SWBMacro
2323
MacroExpressionParsing.swift
2424
MacroNamespace.swift
2525
MacroType.swift
26-
MacroValueAssignmentTable.swift)
26+
MacroValueAssignmentTable.swift
27+
SwiftDriverTripleExtensions.swift)
2728
set_target_properties(SWBMacro PROPERTIES
2829
Swift_LANGUAGE_VERSION 6)
2930
target_link_libraries(SWBMacro PUBLIC
File renamed without changes.

Sources/SWBUtil/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ add_library(SWBUtil
9696
Statistics.swift
9797
String.swift
9898
SWBDispatch.swift
99-
SwiftDriverTripleExtensions.swift
10099
TAPIFileList.swift
101100
UniqueSerialization.swift
102101
UnsafeSendableDelayedInitializationWrapper.swift
@@ -116,7 +115,6 @@ target_link_libraries(SWBUtil PUBLIC
116115
SWBCSupport
117116
SWBLibc
118117
ArgumentParser
119-
SwiftDriver
120118
$<$<NOT:$<PLATFORM_ID:Darwin>>:SwiftSystem::SystemPackage>)
121119

122120
set_target_properties(SWBUtil PROPERTIES

0 commit comments

Comments
 (0)