Skip to content

Conversation

@ahoppen
Copy link
Member

@ahoppen ahoppen commented May 17, 2024

No description provided.

@ahoppen ahoppen requested review from bnbarham and hamishknight May 17, 2024 17:36
@ahoppen ahoppen requested a review from benlangmuir as a code owner May 17, 2024 17:36
@ahoppen
Copy link
Member 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 ahoppen force-pushed the review-comments-1302 branch from b861bfb to 56640c1 Compare May 17, 2024 20:27
@ahoppen
Copy link
Member Author

ahoppen commented May 17, 2024

@swift-ci Please test

@ahoppen
Copy link
Member Author

ahoppen commented May 17, 2024

@swift-ci Please test Windows

1 similar comment
@ahoppen
Copy link
Member Author

ahoppen commented May 17, 2024

@swift-ci Please test Windows

@ahoppen ahoppen merged commit 5e8197c into swiftlang:main May 20, 2024
@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.

3 participants