Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to setup a shared ccache

How can I setup a shared ccache without falling into a permissions problem?

I would like to run a nightly or CI build with latest changes and share all created binaries throughout the R&D using a large ccache repository.

like image 620
Pini Reznik Avatar asked Sep 23 '08 09:09

Pini Reznik


1 Answers

See the newly written Sharing a cache section in ccache's manual. In essence, use the same CCACHE_DIR setting, set CCACHE_UMASK appropriately and consider using CCACHE_BASEDIR.

like image 64
Joel Rosdahl Avatar answered Oct 21 '22 12:10

Joel Rosdahl