Skip to content

[Explicit Module Builds][Incremental Builds] Treat binary Swift module explicit dependencies as always up-to-date #1733

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
Nov 20, 2024

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Nov 19, 2024

The driver does not have the capability to rebuild them, so there is no point to invalidating these dependency nodes. Crucially, if these dependencies are newer than some other dependency between the source module and it, it will still cause invalidation of dependencies which can and must be re-built.

This change fixes the remaining case left by the initial attempt at this in #1674.

@artemcm
Copy link
Contributor Author

artemcm commented Nov 19, 2024

@swift-ci test

…ies as always up-to-date

The driver does not have the capability to rebuild them, so there is no point to invalidating these dependency nodes. Crucially, if these dependencies are newer than some other dependency between the source module and it, it will still cause invalidation of dependencies which can and must be re-built.

This change fixes the remaining case left by the initial attempt at this in swiftlang#1674.
@artemcm artemcm force-pushed the BinaryExplicitDepsAlwaysUpToDate branch from 6eb171e to a9a55ab Compare November 19, 2024 23:32
@artemcm
Copy link
Contributor Author

artemcm commented Nov 19, 2024

@swift-ci test

@artemcm
Copy link
Contributor Author

artemcm commented Nov 20, 2024

@swift-ci test Windows platform

@artemcm artemcm merged commit 8a0f4f2 into swiftlang:main Nov 20, 2024
3 checks passed
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.

2 participants