Standardize NO_CCACHE flag and ccache definitions

Alex Kozlov spam at rm-rf.kiev.ua
Wed Jun 18 17:30:44 UTC 2008


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


More information about the freebsd-ports mailing list