Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102231 - ccache doesn't cache emerges after following instructions outlined in handbook
Summary: ccache doesn't cache emerges after following instructions outlined in handbook
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Linux bug wranglers
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-12 05:44 UTC by Billy Pollifrone
Modified: 2005-08-12 07:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Billy Pollifrone 2005-08-12 05:44:57 UTC
Following the instructions outlined in Working with Gentoo, Portage Features,
Caching compilations (see URL) does not fully enable caching. The CCACHE_DIR
environment variable being set to "/var/tmp/ccache/" cures this problem.

Reproducible: Always
Steps to Reproduce:
1. Follow ccache install instructions
2. emerge something
3. Check ccache -s shows no usage
4. echo CCACHE_DIR="/var/tmp/ccache" >> /etc/env.d/99local
5. env-update
6. emerge something
7. ccache -s now shows usage
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-12 07:42:59 UTC
> 3. Check ccache -s shows no usage

Uhm, no... it does cache, your command is incorrect. It should be
'CCACHE_DIR=/var/tmp/ccache ccache -s'

No environment variable is however needed for the caching to work during emerge.