From owner-cvs-ports@FreeBSD.ORG Tue Nov 15 23:53:09 2005 Return-Path: X-Original-To: cvs-ports@FreeBSD.ORG Delivered-To: cvs-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9B7C16A420; Tue, 15 Nov 2005 23:53:09 +0000 (GMT) (envelope-from sobomax@portaone.com) Received: from www.portaone.com (support.portaone.com [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BB3443D49; Tue, 15 Nov 2005 23:53:08 +0000 (GMT) (envelope-from sobomax@portaone.com) Received: from [192.168.0.96] (dell.portaone.com [70.68.0.213]) (authenticated bits=0) by www.portaone.com (8.12.11/8.12.11) with ESMTP id jAFNqu16047845 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 Nov 2005 00:53:00 +0100 (CET) (envelope-from sobomax@portaone.com) Message-ID: <437A74D3.7050201@portaone.com> Date: Tue, 15 Nov 2005 15:52:51 -0800 From: Maxim Sobolev Organization: Porta Software Ltd User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Johnson References: <200511152003.jAFK3XlM087796@repoman.freebsd.org> In-Reply-To: <200511152003.jAFK3XlM087796@repoman.freebsd.org> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.86.2/1176/Tue Nov 15 21:47:39 2005 on www.portaone.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.0 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on www.portaone.com Cc: cvs-ports@FreeBSD.ORG, cvs-all@FreeBSD.ORG, ports-committers@FreeBSD.ORG Subject: Re: cvs commit: ports/devel/ccache Makefile ports/devel/ccache/files patch-ccache.1 patch-ccache.c X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Maxim.Sobolev@portaone.com List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 23:53:10 -0000 I have better patch which extends detection mechanism, so that along with size/mtime checksum of the compiler binary is stored as well. Since compiler binary linked from the same sources/objects will have the same checksum it allows ccache to be used safely with buildworld. Do you have any interest in putting it into the port? -Maxim Michael Johnson wrote: > ahze 2005-11-15 20:03:33 UTC > > FreeBSD ports repository > > Modified files: > devel/ccache Makefile > Added files: > devel/ccache/files patch-ccache.1 patch-ccache.c > Log: > - Add support to turn off hasing the compiler size and mtime via a > enviroment variable, this aids in 'buildworld' and 'buildkernel'. > > CCACHE_NOHASH_SIZE_MTIME > This tells ccache to not hash the real compiler's size and modi- > fication time. Normally this is the mechanism to detect compiler > upgrades. There are situations however, where even though the > compiler's size or modification time has changed you can safely > use the cached objects (e.g. if as part of your build system the > compiler is built as well and the compiler's source has not > changed; or if the compiler has only changes that do not affect > code generation). Use this feature only if you know what you are > doing. > > Submitted by: schweikh > > Revision Changes Path > 1.35 +1 -1 ports/devel/ccache/Makefile > 1.1 +19 -0 ports/devel/ccache/files/patch-ccache.1 (new) > 1.1 +15 -0 ports/devel/ccache/files/patch-ccache.c (new) > > >