Skip to content

compilation: avoid pointless caching #12605

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 24, 2022
Merged

Conversation

kristoff-it
Copy link
Member

@kristoff-it kristoff-it commented Aug 23, 2022

When the entire purpose of this compilation is to perform a single zig
cc operation we could "tail call" clang by doing an execve, and any use
of the caching system would actually be problematic since the user is
presumably doing their own caching by using dep file flags.

Fixes #12317

When the entire purpose of this compilation is to perform a single zig
cc operation we could "tail call" clang by doing an execve, and any use
of the caching system would actually be problematic since the user is
presumably doing their own caching by using dep file flags.

Fixes #12317
@kristoff-it kristoff-it force-pushed the zig-cc-smart-cache-disable branch from 0948a36 to 333d7f8 Compare August 23, 2022 21:57
@andrewrk
Copy link
Member

Tests passed locally.

@andrewrk andrewrk merged commit eb3f7d2 into master Aug 24, 2022
@andrewrk andrewrk deleted the zig-cc-smart-cache-disable branch August 24, 2022 20:33
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.

Possibility to disable caching for user code
2 participants