Рабочие будни

Архивы

Устанавливаем и конфигурируем ccache

  1. Make sure your portage version is higher than 2.0.46-r11: emerge --version
  2. Emerge ccache: emerge -av dev-util/ccache
  3. Find your CHOST (see below): emerge --info | grep CHOST
  4. Copy the CHOST value (in double quotes) into this command: ccache-config --install-links YOUR-CHOST-HERE

$ emerge --version
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glib-2.4-r3, 2.6.18-gentoo-r5 i686)
$ emerge -av dev-util/ccache
...
Would you like to merge these packages? [Yes/No] y
...
$ emerge --info | grep CHOST
CHOST="i686-pc-linux-gnu"
$ ccache-config --install-links i686-pc-linux-gnu

Configuration takes place within /etc/make.conf
FEATURES="ccache"

http://gentoo-wiki.com/Ccache

Очистить кэш ccache -c
Посмотреть кэш ccache -s

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Leave a Reply