Date: Wed, 25 Aug 2004 19:21:37 +0300 From: Maxim Sobolev <sobomax@portaone.com> To: Ruslan Ermilov <ru@FreeBSD.ORG>, portmgr@FreeBSD.ORG, current@FreeBSD.ORG Subject: ccache support for make buildworld/make release Message-ID: <412CBC91.3070900@portaone.com>
next in thread | raw e-mail | index | archive | help
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. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?412CBC91.3070900>