[ccache] Shared ccache directory between docker containers
Joel Rosdahl
joel at rosdahl.net
Sat Feb 6 16:27:24 UTC 2016
Hi,
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
mailing list