r212060 - Consider module depedencies when checking a preamble in libclang
Ulrich.Weigand at de.ibm.com
Mon Jul 7 11:10:18 PDT 2014
Ben Langmuir <blangmuir at apple.com> wrote on 07.07.2014 19:03:33:
> I’ll fix the test to specify a unique module cache path.
Thanks, that will certainly fix the test case problem!
> In general, we use llvm::sys::path::system_temp_dir to create
> the default module cache location. On Darwin, we use
> DARWIN_USER_CACHE_DIR, which is user-specific so this isn’t an
> issue. On Linux, we seem to honour the environment variable TMPDIR,
> before falling back to /var/tmp. I don’t know if this is correct for
> Linux; perhaps you know of a better way?
I'm not really an expert here ...
One option might be to include the user name in the temp directory
name; I see for example
(owned by my uweigand user ID) on my desktop machine ...
More information about the cfe-commits