Re: ccache support for make buildworld/make release

From: Roman Kurakin <rik_at_cronyx.ru>
Date: Wed, 25 Aug 2004 22:25:07 +0400
Maxim Sobolev wrote:

> Folks,
>
> I wonder if anyone considered adding ccache support for 
> buildworld/release targets. ccache is a tool, which wraps around gcc, 
> allowing to cache object files generated by the compiler to greatly 
> speed-up compilation of the same code over and over 
> (http://ccache.samba.org/).
>
> It acts as a caching pre-processor to C/C++ compilers, using the -E 
> compiler switch and a hash to detect when a compilation can be 
> satisfied from cache.  This often results in a 5 to 10 times speedup.

Hm. It seems that this is very cool tool. I would glad to see it in FreeBSD.
Since I've 5 branch compiles tooooo long and fast systems for compilation
does not always available/possible to use while development.

I volonteer to test this if needed.

rik

>
> It can benefit both individual developers (less burden to test changes 
> via full buildworld), and tinderboxes.
>
> Another interesting use is for package building cluster - it should be 
> possible to set-up NFS folder shared among all nodes to hold cached 
> objects for all ports in the tree to reduce turnaround time by the 
> order of magnitude.
>
> -Maxim
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe_at_freebsd.org"
>
>
Received on Wed Aug 25 2004 - 16:29:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC