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

Address review comments to #1302 #1316

Merged
merged 1 commit into from
May 20, 2024
Merged

Conversation

ahoppen
Copy link
Collaborator

@ahoppen ahoppen commented May 17, 2024

No description provided.

@ahoppen
Copy link
Collaborator Author

ahoppen commented May 17, 2024

@swift-ci Please test

Ideally, we would considered like a file change for all files whose compile commands have changed, if they changed in a meaningful way (ie. in a way that would also trigger re-compilation in an incremental build). Non-meaningful changes would be:
- If compiler arguments, like include paths are shuffled around. We could have a really quick check for compiler arguments equality by comparing them unordered. Any really compiler argument change will most likely do more than rearranging the arguments.
Ideally, we would like to consider a file as changed when its compile commands have changed, if they changed in a meaningful way (ie. in a way that would also trigger re-compilation in an incremental build). Non-meaningful changes would be:
- If compiler arguments that aren't order dependent are shuffled around. We could have a real quick check for compiler arguments equality by comparing them unordered. Any really compiler argument change will most likely do more than rearranging the arguments.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- If compiler arguments that aren't order dependent are shuffled around. We could have a real quick check for compiler arguments equality by comparing them unordered. Any really compiler argument change will most likely do more than rearranging the arguments.
- If compiler arguments that aren't order dependent are shuffled around. We could have a really quick check for compiler arguments equality by comparing them unordered. Any real compiler argument change will most likely do more than rearranging the arguments.

@ahoppen
Copy link
Collaborator Author

ahoppen commented May 17, 2024

@swift-ci Please test

@ahoppen
Copy link
Collaborator Author

ahoppen commented May 17, 2024

@swift-ci Please test Windows

1 similar comment
@ahoppen
Copy link
Collaborator Author

ahoppen commented May 17, 2024

@swift-ci Please test Windows

@ahoppen ahoppen merged commit 5e8197c into apple:main May 20, 2024
3 checks passed
@ahoppen ahoppen deleted the review-comments-1302 branch May 20, 2024 16:45
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.

None yet

3 participants