[ccache] Shared ccache directory between docker containers
ragnar.rova at gmail.com
Sat Feb 6 19:10:42 UTC 2016
Thanks, i'll try upgrading although I made sure hostname is unique now.
Whats the mechanism for uniqueness in 3.2?
On Sat, Feb 6, 2016 at 5:27 PM, Joel Rosdahl <joel at rosdahl.net> wrote:
> On 5 February 2016 at 12:05, Ragnar Rova <ragnar.rova at gmail.com> wrote:
> Is it safe to share the ccache directory between docker containers wrt
>> to locking?
> I think so.
> ccache version 3.1.10
>> ccache: FATAL: Failed to open
>> /var/tmp/docker-build-ccache/tmp/tmp.cpp_stderr.docker-host.21810: No such
>> file or directory
> Yes, ccache 3.1.* and earlier rely on the tuple <hostname, pid> being
> unique when creating temporary files. This has been fixed in the ccache 3.2
> series, so try upgrading if possible.
> -- Joel
More information about the ccache