Skip to content

[5.7] New: Update incremental build hash to encode option arguments a… #1133

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
Jul 13, 2022

Conversation

owenv
Copy link
Contributor

@owenv owenv commented Jul 11, 2022

Cherry-pick of #1128 to release branch

Explanation: Before this change, changing the argument to an option which affects incremental builds, or the relative ordering of multiple options affecting incremental builds won't correctly rebuild all of the sources. Update the argsHash computation to take order and arguments into account.
Scope: Affects incremental builds after driver CLI arguments are changed manually or by a build system.
Risk: Low
Reviewers: @artemcm
Testing: Added unit test coverage to the incremental builds suite
Issue: rdar://96556787

@owenv owenv requested a review from artemcm July 11, 2022 21:12
@owenv owenv requested a review from a team as a code owner July 11, 2022 21:12
@owenv
Copy link
Contributor Author

owenv commented Jul 11, 2022

@swift-ci please test

@nkcsgexi nkcsgexi merged commit 6196421 into swiftlang:release/5.7 Jul 13, 2022
@owenv
Copy link
Contributor Author

owenv commented Jul 13, 2022

Thanks @nkcsgexi !

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