building KDevelop with ccache - reliable?

Francis Herne mail at flherne.uk
Thu Sep 21 16:37:33 UTC 2017


On Thursday, 21 September 2017 09:43:14 BST René J.V. Bertin wrote:
> Hi,
> 
> Another quick question: has anyone ever experienced issues building KDevelop
> with ccache?
> 
> I'm beginning to discover it and am positively surprised of the speed-up it
> can give. Reverting and reapplying my all my local patches will cause an
> almost complete rebuild of the source tree. With ccache that takes just
> over 7 minutes on my slow Linux rig (with a locate db update running!); a
> full rebuild without ccache takes more than 1 hour on the same machine
> (when otherwise idle).
> 
> Impressive (for such a small and simple program) and very appreciable, but
> only if thing that need rebuilding still get rebuild.
> 
> R.

I use ccache regularly, it's quite useful.

The only problem I found was that it doesn't work for kdev-rust, because it 
links against a library written in Rust (ast-redux) which ccache doesn't seem 
to understand.

-Francis


More information about the KDevelop-devel mailing list