Skip to content

[Windows] Update the Swift compiler to 5.10.1 #74512

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

Merged
merged 3 commits into from
Jun 18, 2024

Conversation

shahmishal
Copy link
Member

No description provided.

@shahmishal
Copy link
Member Author

@swift-ci test Windows

@shahmishal
Copy link
Member Author

@swift-ci smoke test macOS

@shahmishal
Copy link
Member Author

@swift-ci smoke test Linux

Copy link
Member

@etcwilde etcwilde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hope this fixes the arm64 6.0 build issue since 5.10.1 pulls in a fix to IRGen to handle an instruction that wasn't completely implemented in the 5.10 compiler: #73354

Even if it doesn't, it seems reasonable to use a release compiler for building things over the development snapshot.

@shahmishal
Copy link
Member Author

@swift-ci test Windows

@etcwilde
Copy link
Member

@swift-ci please smoke test Linux platform

@etcwilde
Copy link
Member

@swift-ci please smoke test macOS

@shahmishal shahmishal enabled auto-merge June 18, 2024 15:27
Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@shahmishal shahmishal merged commit 60e09ff into main Jun 18, 2024
3 checks passed
@shahmishal shahmishal deleted the bump-swift-compiler-windows branch June 18, 2024 18:01
@@ -719,22 +719,22 @@ function Fetch-Dependencies {
}

function Get-PinnedToolchainTool() {
if (Test-Path "$BinaryCache\toolchains\${PinnedToolchain}\LocalApp\Programs\Swift\Toolchains\0.0.0+Asserts\usr\bin") {
return "$BinaryCache\toolchains\${PinnedToolchain}\LocalApp\Programs\Swift\Toolchains\0.0.0+Asserts\usr\bin"
if (Test-Path "$BinaryCache\toolchains\${PinnedToolchain}\LocalApp\Programs\Swift\Toolchains\5.10.1+Asserts\usr\bin") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be good to factor out this version number to a variable and set it along with the URL/SHA256 above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants