Skip to content

[Dependency Scanner] Move the Clang scanning shared state out into local (per-scan) cache. #60776

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
Aug 25, 2022

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Aug 25, 2022

Having it be in the potentially-persistent global cache state seems to be causing issues with search paths of subsequent scans. While I investigate the cause, moving this state to the local cache works around the problem.

@artemcm
Copy link
Contributor Author

artemcm commented Aug 25, 2022

@swift-ci smoke test

…cal (per-scan) cache.

Having it be in the potentially-persistent global cache state seems to be causing issues with search paths of subsequent scans. While I investigate the cause, moving this state to the local cache works around the problem.
@artemcm artemcm force-pushed the ClangCacheNoPreserve branch from 9b3d39b to 1f3600a Compare August 25, 2022 16:44
@artemcm
Copy link
Contributor Author

artemcm commented Aug 25, 2022

@swift-ci smoke test

@artemcm artemcm requested a review from nkcsgexi August 25, 2022 17:38
@artemcm
Copy link
Contributor Author

artemcm commented Aug 25, 2022

This is a workaround for rdar://99145050, while that's being investigated.

@artemcm artemcm merged commit c8a3383 into swiftlang:main Aug 25, 2022
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