building KDevelop with ccache - reliable?

Kevin Funk kfunk at kde.org
Fri Sep 22 06:39:42 UTC 2017


On Thursday, 21 September 2017 18:37:33 CEST Francis Herne wrote:
> 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.

Linking is unaffected by ccache, so I'm wondering what problem you're 
experiencing.

Regards,
Kevin

> -Francis


-- 
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170922/45eeda6c/attachment.sig>


More information about the KDevelop-devel mailing list