File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -134,16 +134,19 @@ if ProcessInfo.processInfo.environment["SWIFT_DRIVER_LLBUILD_FWK"] == nil {
134
134
package . dependencies += [
135
135
. package ( url: " https://github.com/apple/swift-llbuild.git " , . branch( " main " ) ) ,
136
136
]
137
+ package . targets. first ( where: { $0. name == " SwiftDriverExecution " } ) !. dependencies += [
138
+ . product( name: " llbuildSwift " , package : " swift-llbuild " ) ,
139
+ ]
137
140
} else {
138
141
// In Swift CI, use a local path to llbuild to interoperate with tools
139
142
// like `update-checkout`, which control the sources externally.
140
143
package . dependencies += [
141
- . package ( path: " ../llbuild " ) ,
144
+ . package ( name: " llbuild " , path: " ../llbuild " ) ,
145
+ ]
146
+ package . targets. first ( where: { $0. name == " SwiftDriverExecution " } ) !. dependencies += [
147
+ . product( name: " llbuildSwift " , package : " llbuild " ) ,
142
148
]
143
149
}
144
- package . targets. first ( where: { $0. name == " SwiftDriverExecution " } ) !. dependencies += [
145
- . product( name: " llbuildSwift " , package : " swift-llbuild " ) ,
146
- ]
147
150
}
148
151
149
152
if ProcessInfo . processInfo. environment [ " SWIFTCI_USE_LOCAL_DEPS " ] == nil {
You can’t perform that action at this time.
0 commit comments