[LLVMdev] sys::path::system_temp_directory vs. sys::fs::createTemporaryFile

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Aug 14 09:47:53 PDT 2014


> Well, that changes behavior on Linux; previously it did honor TMPDIR when
> looking for a cache directory. Is that okay? (The Windows version is also
> honoring TEMP in this case.)

I *think* that is a bug fix.  I don't have those env variables set on
my linux machine (fedora 20), but I don't remember seeing them
pointing to anything but /tmp in the past and that is even in tmpfs
these days.

> What are we using the cache dir for besides the module cache?

Only that. There is one call in lvm and 2 in clang-tools-extra, but
they both pass true to erasedOnReboot.

> Jordan

Cheers,
Rafael



More information about the llvm-dev mailing list