4 ms·
ccache doesn't speed up your compile time; it avoids compiling when that is possible. Avoiding compiling is not possible when you've changed files and need them
by kazinator 12y ago
ccache doesn't speed up your compile time; it avoids compiling when that is possible. Avoiding compiling is not possible when you've changed files and need them recompiled. In that case, a ccache build proceeds using the usual compiler command line.
Also, ccache generates the preprocessor output, even in those cases when it deduces that compiling is unnecessary (and just pulls out a previously made object file). It makes that deduction based on the hash over the preprocessor output.
- EliRivers 12y agoThe headline feature to which I referred, from http://www.zapcc.com/product/features/ http://www.zapcc.com/product/features/, is "Zapcc caches compiled headers and generated code between compiles". So a cache of what was generated last time, which will have to be replaced if the input files or compile command changes. So, a lot like ccache. Which is why I asked.
- deleted 12y ago[deleted]