[Buildbot-devel] ccache and buildbot (was Re: Buildbot 1.0: The Shimmering Vision)

Charles Lepple clepple at gmail.com
Wed Aug 20 16:01:12 UTC 2008


On Wed, Aug 20, 2008 at 10:55 AM, Kai Blin <kai.blin at gmail.com> wrote:
> On Wednesday 20 August 2008 02:12:23 Charles Lepple wrote:
>> On Aug 19, 2008, at 5:53 PM, Kai Blin wrote:
>> > Wouldn't it make more sense to simply use ccache and do a full
>> > build every
>> > time? The samba build farm does that and it performs reasonably well.
>>
>> I'm curious, how are you integrating ccache into the build?
>
> Not at all so far, but I didn't expect this to be complicated.
>
>> The last time that I tried to set up ccache and buildbot (maybe
>> around 0.7.6?), I had trouble getting the path changes to propagate
>> into the buildsteps. (Using a set of symlinks in /usr/lib/ccache, as
>> provided by Debian/Ubuntu.)
>
> Uh, I don't know about your setup, but on my Ubuntu box, I manually do:
> sudo ln -s /usr/bin/ccache /usr/local/bin/gcc
> sudo ln -s /usr/bin/ccache /usr/local/bin/g++
> sudo ln -s /usr/bin/ccache /usr/local/bin/cc
>
> and never think about it again. :)

That would work as well, but I usually use the /usr/lib/ccache links
because it won't automatically interfere with any other compilation
(in case a build slave is also a developer's box).

I might give that a try, though.

-- 
- Charles Lepple




More information about the devel mailing list