Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
如何实现为每一个软件包设置独立的ccache_dir?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
dongfangxunlei
n00b
n00b


Joined: 30 Jan 2013
Posts: 40

PostPosted: Wed Jan 30, 2013 8:09 am    Post subject: 如何实现为每一个软件包设置独立的ccache_dir? Reply with quote

所有软件包都是CCACHE_DIR=/var/tmp/ccache,这样好像会产生很多cache miss,能否修改portage的命令,为每一个软件设置独立的缓存目录?比如CCACHE_DIR=/var/tmp/ccache/somepackage.这样就能将各种软件的缓存分开来了,搜索速度更快,命中率更高。但是我不懂python,看emerge源码,各种看不懂,特来请教高手如何实现?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) 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