Re: Shared ccache directory between docker containers
Joel Rosdahl <[email protected]> Sat, 6 Feb 2016 17:27:24 +0100
| Newsgroups | gmane.comp.compilers.ccache |
|---|---|
| Message-ID | <CAK8D=pjJcdVC=iUn8yDAruZMFWtz3p1ua=vJxOj-CBWmEpvgEg@mail.gmail.com> |
Hi, On 5 February 2016 at 12:05, Ragnar Rova <[email protected]> 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