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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"