cvs commit: ports/devel/ccache Makefile ports/devel/ccache/files patch-ccache.1 patch-ccache.c

michael johnson buhnux at gmail.com
Tue Nov 15 16:01:37 PST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Nov 15, 2005, at 6:52 PM, Maxim Sobolev wrote:

> 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?
>

most definitely.

I'm all for saving a few min. in compile time.

Michael

> -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)
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDenbbn4uqfTwEb9YRAiOCAJ9AIELvPRAmD09689AJ7bydvQQXTQCgqGSm
3rpUpy3guph7+5uorNyAgWg=
=mTFh
-----END PGP SIGNATURE-----


More information about the cvs-all mailing list