Skip to content

build: add a -Clean option to build.ps1 #70962

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 1 commit into from
Jan 19, 2024

Conversation

compnerd
Copy link
Member

When the compiler changes, the SDK and tool builds do not notice the compiler change due to the missing compiler tracking. This allows us to quickly perform an incremental by not discarding the compiler build.

@compnerd
Copy link
Member Author

@swift-ci please smoke test

Copy link
Contributor

@hyp hyp left a comment

Choose a reason for hiding this comment

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

nice!

@@ -101,6 +101,7 @@ param(
[string[]] $Test = @(),
[string] $Stage = "",
[string] $BuildTo = "",
[switch] $Clean,
Copy link
Contributor

Choose a reason for hiding this comment

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

It'd be nice to describe this param with .PARAMETER above?

When the compiler changes, the SDK and tool builds do not notice the
compiler change due to the missing compiler tracking. This allows us to
quickly perform an incremental by not discarding the compiler build.
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd compnerd enabled auto-merge January 19, 2024 18:36
@compnerd compnerd merged commit 5bbead3 into swiftlang:main Jan 19, 2024
@compnerd compnerd deleted the squeaky-clean branch January 19, 2024 23:17
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