Skip to content

Bootstrap: Add bootstrapping stage 1 and 2 #80921

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
Apr 27, 2025

Conversation

etcwilde
Copy link
Contributor

@etcwilde etcwilde commented Apr 18, 2025

Adding a stage-1 and stage-2 bootstrapping preset and updating the stage 0 preset to install the stage0 bootstrap somewhere so that it can be used to bootstrap the stage-1 toolchain.

This will require a synchronized change on the CI side to pass in the build directory and install directory.

@etcwilde
Copy link
Contributor Author

@swift-ci please smoke test

1 similar comment
@etcwilde
Copy link
Contributor Author

@swift-ci please smoke test

Adding a stage-1 buildbot preset and updating the stage 0 preset to
install the stage0 bootstrap somewhere so that it can be used to
bootstrap the stage-1 toolchain.
Adding a build_subdir preset default for the stage 0 and stage 1 build
configurations.
@etcwilde etcwilde force-pushed the ewilde/bootstrap-stage1-preset branch from 6a84639 to ec67c61 Compare April 25, 2025 23:29
@etcwilde
Copy link
Contributor Author

@swift-ci please smoke test

@etcwilde etcwilde changed the title Bootstrap: Add stage-1 preset Bootstrap: Add bootstrapping stage 1 and 2 Apr 25, 2025
Adding a stage-2 preset. This preset adds SwiftPM and XCTest to the
built products. The stage-1 preset could likely build all of the
product, but because the stage-1 compiler was built without several
optimizations available in the stage-0 compiler, this compiler will not
be as performant as a separate stage-2 compiler.
@etcwilde etcwilde force-pushed the ewilde/bootstrap-stage1-preset branch from ec67c61 to 4130bca Compare April 26, 2025 20:40
@etcwilde
Copy link
Contributor Author

@swift-ci please smoke test

@etcwilde etcwilde merged commit 107a7d6 into swiftlang:main Apr 27, 2025
3 checks passed
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.

3 participants