-
Notifications
You must be signed in to change notification settings - Fork 588
Closed
Description
We currently treat -showIncludes
as a non-cacheable MSVC option. I ported this directly from the Python implementation. Unfortunately a lot of build tools use this to produce dependency info, and it may not be possible to work around that. @alexcrichton ran into this trying to get sccache working for the LLVM build in Rust.
I suspect the issue here is that the output from -showIncludes
is generated when we run the preprocessor, but we cache the output of running the compiler on the already-preprocessed output. It might be a little weird, but I think we could save all the extra output lines and just prepend them to the compiler output if the original command included -showIncludes
.
@glandium, is there anything I'm missing there?
Metadata
Metadata
Assignees
Labels
No labels