On Thursday 06 Aug 2015 22:00:35 Neil Bothwick wrote:
> 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"

Hmm ... may be I should re-enable it to see if I notice the difference on an 
old PC I have.  I took it off because failed ebuilds would continue to fail - 
until I remembered to delete the ccache files.

-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to