CCache (gentoo documentation)
ccache (see homepage here) is a fast compiler cache. When you compile a program, it will cache intermediate results so that, whenever you recompile the same program, the compilation time is greatly reduced. In common compilations this can result in 5 to 10 times faster compilation times.
# emerge ccache
# ccache -M 2G //only for 1st install
# nano -w /etc/make.conf
FEATURES="ccache"
CCACHE_SIZE="2G"
CCACHE_DIR="/var/temp/ccache"
# PATH="/usr/lib/ccache/bin:/opt/bin:${PATH}"
and to view ccache statistics, you can execute this command:
# CCACHE_DIR="/var/temp/ccache" ccache -s
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Hi, for all of those who already put comments on my blog post, thanks.. really appreciate it. And for those who have not, just put your comments here :)