building KDevelop with ccache - reliable?

Milian Wolff mail at milianw.de
Thu Sep 21 13:04:36 UTC 2017


On Thursday, September 21, 2017 11:49:29 AM CEST René J. V. Bertin wrote:
> Milian Wolff wrote:
> >> Impressive (for such a small and simple program) and very appreciable,
> >> but
> >> only if thing that need rebuilding still get rebuild.
> > 
> > It works, try it.
> 
> I did, and as I said, the speed-up is impressive. What's also impressive is
> that can apparently detect if a rebuild is required because of a change in
> a headerfile no matter how indirectly that file is included.

Read how it's implemented, it's trivial and that's why it works well. But it 
also is the main reason for situations where it doesn't work well (a single 
char change somewhere outside a comment and everything gets rebuild).

> The size of the ccache cache directory becomes impressive too - fortunately
> it compresses well (almost 3x even with the lz4 compression in ZFS).

Again, see how it's implemented.

-- 
Milian Wolff
mail at milianw.de
http://milianw.de




More information about the KDevelop-devel mailing list