From owner-freebsd-ports@FreeBSD.ORG Wed Jun 18 16:02:44 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8487106566B; Wed, 18 Jun 2008 16:02:44 +0000 (UTC) (envelope-from kozlov@ravenloft.kiev.ua) Received: from istc.kiev.ua (wolf.istc.kiev.ua [193.108.236.1]) by mx1.freebsd.org (Postfix) with ESMTP id 7B70F8FC2A; Wed, 18 Jun 2008 16:02:44 +0000 (UTC) (envelope-from kozlov@ravenloft.kiev.ua) Received: from [91.123.146.100] (helo=ravenloft.kiev.ua) by istc.kiev.ua with esmtp (Exim 4.52) id 1K907L-0000FA-JZ; Wed, 18 Jun 2008 19:02:41 +0300 Received: from kozlov by ravenloft.kiev.ua with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1K907I-000AJA-Ey; Wed, 18 Jun 2008 19:02:36 +0300 Date: Wed, 18 Jun 2008 19:02:36 +0300 From: Alex Kozlov To: Alex Dupre , Edwin Groothuis , ports@freebsd.org, spam@rm-rf.kiev.ua Message-ID: <20080618160236.GA39588@ravenloft.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: Alex Kozlov X-Spam-Score: 0.0 (/) X-Spam-Report: Content analysis detailz: (0.0 points, 10.0 required) Cc: 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 16:02:44 -0000 On Wed, Jun 18, 2008 at 05:48:38PM +0200, Alex Dupre wrote: > Alex Kozlov ha scritto: > >> It's necessary if you don't want to use ccache only for 1% of the > >> buildworld process. > > I use CCACHE_NOHASH_SIZE_MTIME: > > "It's not necessary to use CCACHE_HASH_COMPILER" != "I use > CCACHE_NOHASH_SIZE_MTIME, so every compiler I use I will get always the > same result." Problem in make buildworld case is not compiler name. Problem is that compiler rebuild itself and mtime alway different. So I'm use switch exactly for this case and not depend on side effects CCACHE_HASH_COMPILER. Also later is undocumented. -- Adios