Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2005 19:01:28 -0500
From:      michael johnson <buhnux@gmail.com>
To:        Maxim.Sobolev@portaone.com
Cc:        cvs-ports@freebsd.org, Michael Johnson <ahze@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:  <CDE64D0D-7E13-40F6-90A7-67016A395FCD@ahze.net>
In-Reply-To: <437A74D3.7050201@portaone.com>
References:  <200511152003.jAFK3XlM087796@repoman.freebsd.org> <437A74D3.7050201@portaone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CDE64D0D-7E13-40F6-90A7-67016A395FCD>