Date: Wed, 18 Jun 2008 20:23:52 +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: <20080618172352.GA45188@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: > Alex Kozlov 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 world 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 CCACHE_NOHASH_SIZE_MTIME is two method for the same. hash size and mtime 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?20080618172352.GA45188>