Summary: | ccache does not honour -M option | ||
---|---|---|---|
Product: | Portage Development | Reporter: | jieryn <jieryn> |
Component: | Core - Configuration | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rockoo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
jieryn
2004-08-14 06:31:47 UTC
Just clarifying, but ccache -M 5GB does return correctly? Also, what version... % emerge -pv ccache [ebuild R ] dev-util/ccache-2.3 0 kB % ccache -M 5G Set cache size limit to 5242880k % ccache -s cache hit 0 cache miss 0 files in cache 0 cache size 0 Kbytes max cache size 2.0 Gbytes You may have to add it to your env or your make.conf. I believe portage resets it to 2G unless it's told otherwise. Try adding this line to /etc/make.conf: CCACHE_SIZE="5G" did you even try this yourself? i have tried CCACHE_SIZE="5G" and CCACHE_SIZE="5GB" in make.conf, neither will report properly with ccache -s i also find it interesting that emerge --info does not list CCACHE_SIZE as i think it should.. perhaps this is configuration option is not being picked up at all and therefore ccache -s is always falling back to the default, 2G ..? Try this with ccache v2.4 please. how is this even a portage issue? i attempted this with the v2.4 release and it works for me. |