Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2008 21:42:26 +0100
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Standardize NO_CCACHE flag and ccache definitions
Message-ID:  <20080618214226.470453ef@gumby.homeunix.com.>
In-Reply-To: <20080618190621.GA49597@ravenloft.kiev.ua>
References:  <20080618190621.GA49597@ravenloft.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Jun 2008 22:06:21 +0300
Alex Kozlov <spam@rm-rf.kiev.ua> 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.






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