From owner-freebsd-ports@FreeBSD.ORG Wed Jun 18 20:42:32 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF1961065684 for ; Wed, 18 Jun 2008 20:42:32 +0000 (UTC) (envelope-from fbsd06+XA=646d3203@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 8DED58FC0A for ; Wed, 18 Jun 2008 20:42:32 +0000 (UTC) (envelope-from fbsd06+XA=646d3203@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 046FD23E498 for ; Wed, 18 Jun 2008 16:42:30 -0400 (EDT) Date: Wed, 18 Jun 2008 21:42:26 +0100 From: RW To: freebsd-ports@freebsd.org Message-ID: <20080618214226.470453ef@gumby.homeunix.com.> In-Reply-To: <20080618190621.GA49597@ravenloft.kiev.ua> References: <20080618190621.GA49597@ravenloft.kiev.ua> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Standardize NO_CCACHE flag and ccache definitions X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2008 20:42:32 -0000 On Wed, 18 Jun 2008 22:06:21 +0300 Alex Kozlov wrote: > In typical case check for size and mtime is enough. It's not really a question of good enough, if you use the mtime of the driver on all builds, then *every* time you rebuild the compiler, you invaldate all the cache objects that have been built with it. That can have a major impact on port building, and it's in things like "portupgrade -rf gettext" where ccache is most significant. Using the hash avoids that problem.