-
Notifications
You must be signed in to change notification settings - Fork 212
[5.6] Update package dependencies to use the 'release/5.6' branch #929
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
Conversation
…use the 'release/5.6' branch
@swift-ci please smoke test |
@@ -121,7 +121,7 @@ let package = Package( | |||
if ProcessInfo.processInfo.environment["SWIFT_DRIVER_LLBUILD_FWK"] == nil { | |||
if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil { | |||
package.dependencies += [ | |||
.package(url: "https://github.com/apple/swift-llbuild.git", .branch("main")), | |||
.package(url: "https://github.com/apple/swift-llbuild.git", .branch("release/5.6")), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it work better to refactor this as a let
binding reused for both Driver and TSC dependencies, to be consistent with Package.swift
in the SwiftPM repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably. I'll let the driver folks decide. I wanted to do the minimal change in this case. If so, it's probably better to do the change in main
as well to minimize differences between the branches.
@swift-ci please test |
Not sure if builds for
|
cc @shahmishal |
We might not have the first nightly 5.6 toolchain yet. I don't see one on the swift.org Downloads web page. |
Correct, we are not ready yet. |
@ahoppen we'll need a sourcekit-lsp change to match this. It won't be caught by CI, because CI uses the local checkout of swift-driver instead of the branch dependency. |
@swift-ci please test |
Still don't have a 5.6 toolchain it seems. |
Yeah, I'm checking the list of toolchains here https://www.swift.org/download/, and 5.6 is not in the list yet. |
It looks like |
Running a cross-repo test in swiftlang/swift#40613 to avoid the need for a 5.6 toolchain. |
So swiftlang/swift#40613 seems to have passed, except for what looks like an unrelated issue with Windows that I have asked @compnerd about. @artemcm what successful tests in swiftlang/swift#40613 would be require in order to be able to merge this? |
Also, why is |
Looks like the smoke tests for all three platforms in swiftlang/swift#40613 have passed now, so should that be considered equivalent testing to what we would have had if we'd had a downloadable 5.6 toolchain? |
@artemcm @nkcsgexi @benlangmuir @shahmishal Is this something we can merge based on the successful cross-repo test in swiftlang/swift#40613? |
I don’t think the cross-PR test actually covers the change. AFAICT the test invocation ran /Users/buildnode/jenkins/workspace/swift-PR-macos-smoke-test/branch-release/5.6/swift-driver/Utilities/build-script-helper.py build --package-path /Users/buildnode/jenkins/workspace/swift-PR-macos-smoke-test/branch-release/5.6/swift-driver --build-path /Users/buildnode/jenkins/workspace/swift-PR-macos-smoke-test/branch-release/5.6/buildbot_incremental/earlyswiftdriver-macosx-x86_64 --configuration release --toolchain /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr --ninja-bin /Users/buildnode/jenkins/workspace/swift-PR-macos-smoke-test/branch-release/5.6/buildbot_incremental/ninja-build/ninja --cmake-bin /usr/local/bin/cmake --local_compiler_build --verbose which doesn’t have FWIW I don’t have any objections to merging this if a local build with |
Interesting, I missed that part! Thanks for noticing that it wasn't a proper test.
We might not be able to merge it from a technical perspective since this PR has to have green checks (though I'm sure someone can override it if we really wanted to). It seems odd that |
I tried out this PR locally building/testing with SPM directly and by using We should force-merge this to unblock SwiftPM testing, while we figure out the downloadable 5.6 toolchain situation. |
Update
swift-llbuild
andswift-tools-support-core
dependencies to use the 'release/5.6' branch instead ofmain
. This is needed before we can switch over SwiftPM to depend on 'release/5.6'.