Open glandium opened 5 months ago
preprocessor cache doesn't store what would normally be in foo.pp
well, technically, it kind of does, in a different form, and it doesn't know how to recreate foo.pp from that.
This issue and #2122 will likely need common changes.
For contributors of Gecko without super-fast hardware it'd be nice if this could get fixed.
STR:
On the first run, sccache calls the preprocessor, which produces the foo.pp file, with contents:
Typically, this would be used by a build system to know when to rebuild foo.o. Without this file, the build system wouldn't know to rebuild foo.o when e.g. foo.h changes.
Now, clean your build directory and try again:
Now here's the problem: since the preprocessor wasn't called, and since the preprocessor cache doesn't store what would normally be in foo.pp, foo.pp is not created.