Skip to content
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

[build.ps1] Pin Swift 6.0.0 for MSVC 14.40+ compatibility #76566

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stevapple
Copy link
Contributor

C++ STL from MSVC 14.40 and newer versions require Clang 17+ to build. Swift 5.10.1 is no longer capable, but thankfully we have 6.0 now.

We also replaced the nightly toolchain used by the ARM64 build to a newer one.

…compatibility

C++ STL from MSVC 14.40 and newer versions require Clang 17+ to build. Swift 5.10.1 is no longer capable, but thankfully we have 6.0 now.
@stevapple stevapple changed the title [build.ps1] Update default pinned toolchain to 6.0.0 for MSVC 14.40+ compatibility [build.ps1] Pin Swift 6.0.0 for MSVC 14.40+ compatibility Sep 19, 2024
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.

This is not really acceptable, we are using 5.10 explicitly because that is the version that is agreed upon as the baseline for bootstrapping.

@stevapple
Copy link
Contributor Author

stevapple commented Sep 19, 2024

@compnerd The Windows on ARM build is already using (a snapshot of) Swift 6.0. An alternative is to fix MSVC version in CI and document that anyone who wants to build a Windows toolchain either needs to provide a custom Swift 6.0 toolchain or to use MSVC 14.39-.

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.

2 participants