Question About Tracking the Stable Branch

Warren Block wblock at wonkity.com
Tue Aug 28 23:28:23 UTC 2012


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.


More information about the freebsd-stable mailing list