gnewsense-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnewsense-dev] ccache support patch for the Builder


From: Dmitry Samoyloff
Subject: Re: [Gnewsense-dev] ccache support patch for the Builder
Date: Wed, 16 Jun 2010 00:24:22 +0400
User-agent: Wanderlust/2.14.1 (Bad Medicine-pre) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]