Question About Tracking the Stable Branch
Jamie Paul Griffin
jamie at kode5.net
Tue Aug 28 23:39:13 UTC 2012
[ Warren Block wrote on Tue 28.Aug'12 at 17:28:15 -0600 ]
> On Tue, 28 Aug 2012, Jamie Paul Griffin wrote:
>
> > I've always updated my -RELEASE systems using the traditional method
> > so it seems it's no different other than perhaps updating more
> > frequently and deciding whether or not both kernel code and userland
> > code needs to be rebuilt together.
> >
> > It certainly seems a bad idea for me as someone with a lot to learn,
> > to patch specific parts of the source tree and rebuild those parts as
> > something is bound to go wrong at some point for me.
>
> In addition to what others have suggested, the devel/ccache port can
> seriously reduce world and kernel compilation time by caching results.
> Stuff that hasn't changed comes out of cache rather than from a
> recompile. A buildworld every few days usually takes only about a
> fourth of the time it would take without ccache. Unfortunately, so far
> it only has this extreme an effect with gcc, not so much with clang.
>
> I usually use 4G of cache space; haven't tested to see how much is
> actually needed. Setting CCACHE_COMPRESS=yes fits more files in the
> cache. In my tests, there was no speed penalty.
Great suggestion, I'll look into that. Although, I am planning a rebuild using clang in the next few days but from what you say it could still be a useful addition.
Jamie
More information about the freebsd-stable
mailing list