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 {
134134 package . dependencies += [
135135 . package ( url: " https://github.com/apple/swift-llbuild.git " , . branch( " main " ) ) ,
136136 ]
137+ package . targets. first ( where: { $0. name == " SwiftDriverExecution " } ) !. dependencies += [
138+ . product( name: " llbuildSwift " , package : " swift-llbuild " ) ,
139+ ]
137140 } else {
138141 // In Swift CI, use a local path to llbuild to interoperate with tools
139142 // like `update-checkout`, which control the sources externally.
140143 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 " ) ,
142148 ]
143149 }
144- package . targets. first ( where: { $0. name == " SwiftDriverExecution " } ) !. dependencies += [
145- . product( name: " llbuildSwift " , package : " swift-llbuild " ) ,
146- ]
147150}
148151
149152if ProcessInfo . processInfo. environment [ " SWIFTCI_USE_LOCAL_DEPS " ] == nil {
You can’t perform that action at this time.
0 commit comments