From owner-freebsd-current@FreeBSD.ORG Wed Aug 25 16:22:14 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 58FE716A4CE; Wed, 25 Aug 2004 16:22:14 +0000 (GMT) Received: from web.portaone.com (web.portaone.com [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id A83B443D2F; Wed, 25 Aug 2004 16:22:13 +0000 (GMT) (envelope-from sobomax@portaone.com) Received: from [192.168.0.20] (portacare.portaone.com [195.140.247.242]) (authenticated bits=0) by web.portaone.com (8.12.8p2/8.12.8) with ESMTP id i7PGMA5T050650 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Aug 2004 18:22:11 +0200 (CEST) (envelope-from sobomax@portaone.com) Message-ID: <412CBC91.3070900@portaone.com> Date: Wed, 25 Aug 2004 19:21:37 +0300 From: Maxim Sobolev Organization: Porta Software Ltd User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov , portmgr@FreeBSD.ORG, current@FreeBSD.ORG Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: 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 16:22:14 -0000 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