This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Handbook Talk:Parts/Working/Features/en

From Gentoo Wiki (test)
Jump to:navigation Jump to:search

Please add to the ccache instructions, concerning the variables in /etc/portage/make.conf:

CCACHE_BASEDIR="${PORTAGE_TMPDIR}/portage"

There is no drawback for adding this for portage compilation, and it will increase the number of hits in the long run (when upgrading packages). Also, in my experience adding the variables

CCACHE_COMPRESS="true"

CCACHE_SLOPPINESS="file_macro,time_macros,include_file_mtime,include_file_ctime,file_stat_matches,pch_defines"

are a good idea (and even the latter, though apparently aggressive, never caused any troubles for me).

Nevertheless, one could mention that changing such options invalidates the previous cache content (the first at least partially) so that immediately after the change you will get less hits.

Problems with sync-uri and sync-type = webrsync

The wiki says to set "sync-uri = ", but portage complains if I do this. Removing "sync-uri = " seems to fix the problem. Aleclm (talk) 11:26, 2 March 2016 (UTC)