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: Michał Masłowski
Subject: Re: [Gnewsense-dev] ccache support patch for the Builder
Date: Tue, 15 Jun 2010 22:15:06 +0200

>Intersting idea. I have little experience with ccache. It's only useful 
> from the second time on a package is compiled, right? 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.
> 
> 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?
ccache has its own cache of results of compilation of preprocessed C
source (depending on compiler version and arguments). It is designed
just for situations when $WORKINGDIR is removed before compilations.

According to http://ccache.samba.org/performance.html the first
compilation of Samba could be 18% slower with ccache while the second
one might be more than 11 times faster.

Attachment: signature.asc
Description: To jest część wiadomości podpisana cyfrowo


reply via email to

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