[llvm-dev] Changing temp Dir: /var/tmp

James Molloy via llvm-dev llvm-dev at lists.llvm.org
Thu Mar 24 06:27:03 PDT 2016


Hi,

LLVM will look for the following environment variables to be set, and if
not it will use /var/tmp:

TMPDIR, TMP, TEMP, TEMPDIR

You should be able to override its behaviour by setting one of those.

Cheers,

James

On Thu, 24 Mar 2016 at 11:21 Ramakrishna Mallireddy via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> What are the various option we have in setting tmp dir.
>
> I can't use the default var/tmp, and I am looking to pass the dir during
> compiler invocation as an arg.
>
> any help is great.
>
> Thanks
> Ramakrishna
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160324/89846534/attachment.html>


More information about the llvm-dev mailing list