[ccache] base_dir and symbolic links

Andreas Wettstein wettstae at gmail.com
Tue Jan 2 12:49:54 UTC 2018


Hello Joel,

> https://www.mail-archive.com/ccache@lists.samba.org/msg00802.html

Thank you.  It is trickier than I thought.

> ccache has a test suite and it fails like this with your patch:

Sorry, I missed the test directory.  Attached is a modified patch, which
fixes this issue and includes tests as well.

> If I understand your setup correctly, would it be possible to instead put
> /reference, /user1 and /user2 under a /common directory and then let the
> users set basedir to /common?

Technically, yes, however, the file system layout is not under my
control.  It also would be tedious, as there are many more users, their
individual directories can be huge, and the ability to benefit from
ccache is just a minor issue in the overall picture.

Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-When-computing-a-relative-path-with-respect-to-the-c.patch
Type: text/x-patch
Size: 4935 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/ccache/attachments/20180102/5035c443/0001-When-computing-a-relative-path-with-respect-to-the-c.bin>


More information about the ccache mailing list