Skip to content

Temporarily disable negative stat caching for .framework directories #9076

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

artemcm
Copy link

@artemcm artemcm commented Aug 8, 2024

With Swift, misconfigured Xcode projects currently may fail with negative 'stat' caching of .framework directories enabled, because they do not always explicitly specify their target dependencies and may be either getting lucky wih build timing, or compiling against wrong dependenceis a lot of the time: e.g. an SDK variant of a dependency module, instead of one in the project's own build directory. Temporarily disable negative 'stat' caching here until all such projects are fixed.

rdar://127079541

@artemcm artemcm requested a review from jansvoboda11 August 8, 2024 21:31
@artemcm
Copy link
Author

artemcm commented Aug 8, 2024

@swift-ci test

Copy link

@jansvoboda11 jansvoboda11 left a comment

Choose a reason for hiding this comment

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

Thanks!

With Swift, misconfigured Xcode projects currently may fail with negative 'stat' caching of `.framework` directories enabled, because they do not always explicitly specify their target dependencies and may be either getting lucky wih build timing, or compiling against wrong dependenceis a lot of the time: e.g. an SDK variant of a dependency module, instead of one in the project's own build directory. Temporarily disable negative 'stat' caching here until all such projects are fixed.

rdar://127079541
@artemcm artemcm force-pushed the artemcm/SwiftNext-NoNegativeFrameworkStatCachingWorkaround branch from 6d00988 to fd84e5b Compare August 13, 2024 19:49
@artemcm artemcm merged commit c6ed95b into stable/20240723 Aug 13, 2024
@artemcm artemcm deleted the artemcm/SwiftNext-NoNegativeFrameworkStatCachingWorkaround branch August 13, 2024 19:50
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