Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2004 11:33:42 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Roman Kurakin <rik@cronyx.ru>
Cc:        portmgr@FreeBSD.ORG
Subject:   Re: ccache support for make buildworld/make release
Message-ID:  <20040825183342.GA81434@xor.obsecurity.org>
In-Reply-To: <412CD983.2040700@cronyx.ru>
References:  <412CBC91.3070900@portaone.com> <412CD983.2040700@cronyx.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Wed, Aug 25, 2004 at 10:25:07PM +0400, Roman Kurakin wrote:
> 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.

BTW, I don't think there's anything to set up..you just set
CC="ccache cc" or similar.

Kris

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQFBLNuGWry0BWjoQKURAlhvAKCzBPsbkfWQpyBIv1Bv3QHHodLq/gCg7IQ4
znqYuwCm+bJOp5mHKKuyBq0=
=Z8fG
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040825183342.GA81434>