Skip to content

compilation: avoid pointless caching#12605

Merged
andrewrk merged 1 commit intomasterfrom
zig-cc-smart-cache-disable
Aug 24, 2022
Merged

compilation: avoid pointless caching#12605
andrewrk merged 1 commit intomasterfrom
zig-cc-smart-cache-disable

Conversation

@kristoff-it
Copy link
Copy Markdown
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
Copy Markdown
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