Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to set CCACHE_DIR for every package?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dongfangxunlei
n00b
n00b


Joined: 30 Jan 2013
Posts: 29

PostPosted: Wed Jan 30, 2013 8:03 am    Post subject: how to set CCACHE_DIR for every package? Reply with quote

It seems that setting CCACHE_DIR=/var/tmp/ccache for all packages is not a good choice.I would like to know how to set CCACHE_DIR=/var/tmp/ccache/somepackagename,where somepackagename is the name of some package.I think this can speed up the searching and let "cache miss" decrease.However,I have little knowledge of python.So can someone give me a hand ?How to deal with it?
Back to top
View user's profile Send private message
mv
Advocate
Advocate


Joined: 20 Apr 2005
Posts: 4217

PostPosted: Wed Jan 30, 2013 5:32 pm    Post subject: Reply with quote

Your plan will neither let "cache miss" decrease nor speed up searching (the latter assuming you use a reasonable filesystem).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum