On Thu, 6 Aug 2015 21:53:25 +0200, Alan McKinnon wrote:

> > I only have it enabled for LibreOffice, which is a regular victim of
> > @preserved-rebuild causing the same version to be rebuilt.

> What sort of improvements do you get? libreoffice here takes about 1h30
> to build, give or take 10 mins or so. Doesn't seem worth the extra
> hassle of ccache for an hour and a half.

It varies, but it can more than halve the time taken. Well worth the
minute or two it took to set it up to happen automatically.

% cat /etc/portage/env/ccache.conf 
FEATURES="ccache"

% cat /etc/portage/package.env/libreoffice 
app-office/libreoffice ccache.conf disk-tmpdir.conf

And don't forget to emerge ccache ;-)

For completeness, LO also uses and on disk TMPDIR because my tmpfs /tmp
isn't big enough, so

% cat /etc/portage/env/disk-tmpdir.conf   
PORTAGE_TMPDIR="/mnt/scratch"


-- 
Neil Bothwick

Consciousness: that annoying time between naps.

Attachment: pgpyvb_Xjw309.pgp
Description: OpenPGP digital signature

Reply via email to