Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2008 20:30:40 +0300
From:      Alex Kozlov <spam@rm-rf.kiev.ua>
To:        Alex Dupre <ale@FreeBSD.org>, ports@freebsd.org, Edwin Groothuis <edwin@mavetju.org>, spam@rm-rf.kiev.ua
Subject:   Re: Standardize NO_CCACHE flag and ccache definitions
Message-ID:  <20080618173040.GA45574@ravenloft.kiev.ua>

next in thread | raw e-mail | index | archive | help
On Wed, Jun 18, 2008 at 06:44:36PM +0200, Alex Dupre wrote:
>> Problem in make buildworld case is not compiler name.
> hash_file() doesn't hash the file name :-)
Yes, sorry. s/name/identity/. In other words this check to make
sure that obj was created the same compiler.

> You are lucky that CCACHE_HASH_COMPILER is checked before
> CCACHE_NOHASH_SIZE_MTIME.
This is not luck. To think more about this, CCACHE_HASH_COMPILER
and hash size and mtime is two method for the same.
Former is lightweight and CCACHE_HASH_COMPILER is more heavy.
But in case of buildworld CCACHE_HASH_COMPILER is still not necessary,
CCACHE_NOHASH_SIZE_MTIME is enough.


--
Adios



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080618173040.GA45574>