From owner-freebsd-current@FreeBSD.ORG Wed Aug 25 18:45:08 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53CCF16A4D7; Wed, 25 Aug 2004 18:45:08 +0000 (GMT) Received: from web.portaone.com (mail.russia.cz [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC59943D39; Wed, 25 Aug 2004 18:45:07 +0000 (GMT) (envelope-from sobomax@web.portaone.com) Received: from web.portaone.com (localhost [127.0.0.1]) by web.portaone.com (8.12.8p2/8.12.8) with ESMTP id i7PIit5U059796 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Aug 2004 20:44:55 +0200 (CEST) (envelope-from sobomax@web.portaone.com) Received: (from sobomax@localhost) by web.portaone.com (8.12.8p2/8.12.8/Submit) id i7PIitUI059795; Wed, 25 Aug 2004 20:44:55 +0200 (CEST) (envelope-from sobomax) Date: Wed, 25 Aug 2004 20:44:55 +0200 From: Maxim Sobolev To: Kris Kennaway Message-ID: <20040825184455.GC57354@www.portaone.com> References: <412CBC91.3070900@portaone.com> <412CD983.2040700@cronyx.ru> <20040825183342.GA81434@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040825183342.GA81434@xor.obsecurity.org> User-Agent: Mutt/1.4.1i cc: portmgr@FreeBSD.ORG cc: Ruslan Ermilov cc: current@FreeBSD.ORG cc: Roman Kurakin Subject: Re: ccache support for make buildworld/make release X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 18:45:08 -0000 Hmm, indeed, will try that. Thanks for the hint! -Maxim On Wed, Aug 25, 2004 at 11:33:42AM -0700, Kris Kennaway wrote: > 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