search for: erasedonreboot

Displaying 3 results from an estimated 3 matches for "erasedonreboot".

2014 Aug 13
2
[LLVMdev] sys::path::system_temp_directory vs. sys::fs::createTemporaryFile
> It looks like OS X always has TMPDIR set these days (to the value of > _CS_DARWIN_USER_TEMP_DIR), so I think we should just go with TMPDIR if it's > set and non-empty, and then fall back to confstr. However, we should not be > using TMPDIR if ErasedOnReboot is false (i.e. if we'd prefer > _CS_DARWIN_USER_CACHE_DIR). Unfortunately there's no canonical environment > variable for that. > > CCing Greg to see if that makes sense. OK, so I guess something like this? Cheers, Rafael -------------- next part -------------- A non-text atta...
2014 Aug 14
2
[LLVMdev] sys::path::system_temp_directory vs. sys::fs::createTemporaryFile
...x 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
2014 Aug 09
2
[LLVMdev] sys::path::system_temp_directory vs. sys::fs::createTemporaryFile
On 25 July 2014 17:57, David Majnemer <david.majnemer at gmail.com> wrote: > To be clear, I don't think we need both; I'd like for us to drop one of > them. I just want to make sure that that the final state, post merge, works > well on all of our platforms. :) Cool. The attached patch removes TempDir. It passes all tests, but the OS X case looks a bit suspicious. I first