|
ccache-zlib Facts and Figures • Download • Gentoo Linux • Acknowledgements • License |
|||||||||||||||||||||||||||||||||||||||||
home
|
A patch for ccache that lets it use zlib compression for the cache. Facts and Figures
ccache is a compiler cache. It acts as a
caching pre-processor to C/C++ compilers, using the -E compiler switch and a hash
to detect when a compilation can be satisfied from cache. This often results in a
5 to 10 times speedup in common compilations.
plain gcc run 729.55 sec
first normal ccache run 747.12 sec
second normal ccache run 92.11 sec
cache size 9235 k
first patched ccache run 751.92 sec
second patched ccache run 92.68 sec
cache size 5491 k
Some details:
Downsides:
Download
The current patch for ccache-2.4:
How to build it: $ tar xvzf ccache-2.4.tar.gz $ cd ccache-2.4 $ bzcat ../ccache-compressed-cache-2.4.diff.bz2 | patch $ ./configure && make Gentoo Linux
For all those Gentoo users (like myself) I've created an ebuild file. Put it in $PORTDIR_OVERLAY/dev-util/ccache and type "emerge ccache". Acknowledgements
Many thanks to:
License
ccache-zlib is distributed under the GNU GPL license.
|
||||||||||||||||||||||||||||||||||||||||
| powered by django | Copyright © 2002-2013, Lars Gustäbel (lars@gustaebel.de) | ||||||||||||||||||||||||||||||||||||||||