ccache BASEDIR (shared) configuration

2.7k views Asked by At

Environment is Ubuntu 12

I have two different versions of the same build.

one located under /media/CM10/custom the other under /home/malachi/CM10/android/system

I have a specialized build-setup.sh which is invoked by the main build process and they each have:

CCACHE_BASEDIR=/media/CM10/custom

and

CCACHE_BASEDIR=/home/malachi/CM10/android/system

However it is definitely not sharing between the two. The cache size is about 3.9GB when I do the one, and stays there if I repeat. If I do the other, it grows it to over 7GB.

When i check the ccache logs, it appears to be picking up the base dir and rewriting the relative paths. Any clues how to get ccache to properly share between these two? Thank you

1

There are 1 answers

1
lewurm On