Repository navigation
chore: switch releases to use stage2 - #15637
Merged
Merged
Conversation
Since all release builds now use stage2 binaries, and the version numbers are always set appropriately on master and the release branches already, there is no longer a need to be able to override these variables. Stage0 additionally no longer needs its LEAN_SPECIAL_VERSION_DESC overridden. Furthermore, the variables no longer need to be cache variables, and thus they are no longer "sticky" in build directories during normal development, which helps with cache invalidation.
Garmelon
enabled auto-merge
October 12, 2026 18:43
3 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR switches normal and nightly releases to use stage2 binaries instead of stage1, meaning that we no longer ship oleans built by stage0. Because of this, we no longer need to override stage0's version number and special description since they no longer end up in the resulting binaries, effectively reverting #12700 and simplifying our build setup. Non-release builds continue to use the original stage1 setup for resource/performance reasons.
This change may also help with caching around stage0, and during development since the version numbers are no longer "sticky" (i.e. stuck to the values that the build directory was originally created with).