ccache support for make buildworld/make release
Ruslan Ermilov
ru at FreeBSD.org
Sun Sep 12 23:39:42 PDT 2004
On Sun, Sep 12, 2004 at 10:57:29PM +0300, Maxim Sobolev wrote:
> I have in mind extension for ccache which would allow it to be used with
> buildworld. Instead of using hashed values of compiler binary size and
> its last modification time, ccache should be using hash of the compiler
> binary. To avoid hashing several megabytes worth image on each
> invocation, compiler binary hash value can be by itself cached using
> hashed values of compiler binary size and its last modification time.
>
That would work, indeed. :-)
> Since linking the same objects from the cache is likely to produce the
> same binary, bootstrap compiler generated on the second ccached
> buildworld will be the same as one generated on the first one.
>
Even not from cache:
# cd /usr/obj/usr/home/src/RELENG_4/gnu/usr.bin/cc/cc1/
# strip cc1
# md5 ./cc1 /usr/libexec/cc1
MD5 (./cc1) = 32173c94754290242a6b026cf96ce108
MD5 (/usr/libexec/cc1) = 32173c94754290242a6b026cf96ce108
Cheers,
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040913/d2eff6ed/attachment-0001.bin
More information about the freebsd-current
mailing list