Skip to content

[Caching] Fix incremental cache build with bridging header #1498

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

Conversation

cachemeifyoucan
Copy link
Contributor

When planning a caching build with bridging header, the consumer of the pre-compiled bridging header needs to know the cache key for the bridging header in order to construct the correct build command, which requires visibility to the job that creates PCH.

Fix the incremental planning for bridging header users so those job can be correctly constructed even the bridging header job is skipped for the incremental build.

rdar://118143215

@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test

When planning a caching build with bridging header, the consumer of the
pre-compiled bridging header needs to know the cache key for the
bridging header in order to construct the correct build command, which
requires visibility to the job that creates PCH.

Fix the incremental planning for bridging header users so those job can
be correctly constructed even the bridging header job is skipped for the
incremental build.

rdar://118143215
@cachemeifyoucan cachemeifyoucan force-pushed the eng/PR-swift-caching-incremental-build-bridging-header branch from 8503254 to dd7d4c6 Compare December 5, 2023 17:51
@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test

@cachemeifyoucan
Copy link
Contributor Author

Ping

@cachemeifyoucan cachemeifyoucan merged commit 4c7a044 into swiftlang:main Dec 6, 2023
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