Date: Tue, 15 Nov 2005 15:52:51 -0800 From: Maxim Sobolev <sobomax@portaone.com> To: Michael Johnson <ahze@FreeBSD.ORG> Cc: cvs-ports@FreeBSD.ORG, cvs-all@FreeBSD.ORG, ports-committers@FreeBSD.ORG Subject: Re: cvs commit: ports/devel/ccache Makefile ports/devel/ccache/files patch-ccache.1 patch-ccache.c Message-ID: <437A74D3.7050201@portaone.com> In-Reply-To: <200511152003.jAFK3XlM087796@repoman.freebsd.org> References: <200511152003.jAFK3XlM087796@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I have better patch which extends detection mechanism, so that along with size/mtime checksum of the compiler binary is stored as well. Since compiler binary linked from the same sources/objects will have the same checksum it allows ccache to be used safely with buildworld. Do you have any interest in putting it into the port? -Maxim Michael Johnson wrote: > ahze 2005-11-15 20:03:33 UTC > > FreeBSD ports repository > > Modified files: > devel/ccache Makefile > Added files: > devel/ccache/files patch-ccache.1 patch-ccache.c > Log: > - Add support to turn off hasing the compiler size and mtime via a > enviroment variable, this aids in 'buildworld' and 'buildkernel'. > > CCACHE_NOHASH_SIZE_MTIME > This tells ccache to not hash the real compiler's size and modi- > fication time. Normally this is the mechanism to detect compiler > upgrades. There are situations however, where even though the > compiler's size or modification time has changed you can safely > use the cached objects (e.g. if as part of your build system the > compiler is built as well and the compiler's source has not > changed; or if the compiler has only changes that do not affect > code generation). Use this feature only if you know what you are > doing. > > Submitted by: schweikh > > Revision Changes Path > 1.35 +1 -1 ports/devel/ccache/Makefile > 1.1 +19 -0 ports/devel/ccache/files/patch-ccache.1 (new) > 1.1 +15 -0 ports/devel/ccache/files/patch-ccache.c (new) > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?437A74D3.7050201>