At Tue, 15 Jun 2010 22:00:46 +0200,
Sam Geeraerts wrote:
> 
> Dmitry Samoyloff schreef:
> > Hello,
> > 
> > As far, as I've rebuilt new Gnash in the Builder several times already, 
> > ccache
> > is certainly of help for me. Attached is a small 2-line patch for the 
> > Builder
> > to support ccache.
> 
> Intersting idea. I have little experience with ccache. It's only useful 
> from the second time on a package is compiled, right?

Yes.

> Builder normally 
> compiles a package only once. I'm curious to know what the ccache 
> penalty is. If it makes Builder run a lot longer I'd rather not include 
> it by default.

http://ccache.samba.org/performance.html

Well, at least we could make it an option in config.local, right?

> I guess ccache only works when the binaries are not removed between 
> compiles. Builder removes $WORKINGDIR every time before building a 
> package. Can you explain how ccache can do its thing then?

It stores all info in its own cache (say, ~/.ccache/), thus it is OK to remove
a build directory. My do-update time for Gnash decreased from half an hour to
several minutes with ccache.

-- 
I'm an FSF member -- Help us support software freedom!
<http://www.fsf.org/jf?referrer=7253>

_______________________________________________
gNewSense-dev mailing list
gNewSense-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/gnewsense-dev

Reply via email to