Active Topics

 


Reply
Thread Tools
Posts: 44 | Thanked: 89 times | Joined on Oct 2009
#1
I did some experimenting with ccache 3.0 to speed up package building in scratchbox:
http://bit.ly/9UFbAM

Last edited by toninikkanen; 2010-04-25 at 19:50. Reason: corrected link
 
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#2
Using a cache for compilation units is very nice indeed. The only thing to look out for is special cases where the cache is used a bit too much leading to old compilation units getting linked into the new binary.

These special cases typically arise with complicated build situations and generate serious headaches while debugging until one actually checks what was pulled from the cache and what was re-compiled.

BTDTGTT.
 
Posts: 44 | Thanked: 89 times | Joined on Oct 2009
#3
I agree, this is exactly why I had earlier disabled ccache from my system - I had problems linking that took a long time to figure out. Nowadays I will be using ccache but making sure to disable it whenever I encounter weird errors, before trying anything else.
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:41.