[PATCH] D12869: [Support] Add a new environment variable: LLVM_TEMP_DIR

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 19:44:08 PDT 2015


chapuni added a subscriber: chapuni.
chapuni added a comment.

FYI, I have introduced $LIT_PRESERVES_TMP for it.

  'LIT_PRESERVES_TMP': '1',
  'TEMP':   WithProperties("%(workdir)s/tmp/TEMP"),
  'TMP':    WithProperties("%(workdir)s/tmp/TMP"),
  'TMPDIR': WithProperties("%(workdir)s/tmp/TMPDIR"),

  factory.addStep(RemoveDirectory(
          dir=WithProperties("tmp"),
          flunkOnFailure=False))
  factory.addStep(MakeDirectory(
          dir="tmp/TEMP",
          flunkOnFailure=False))
  factory.addStep(MakeDirectory(
          dir="tmp/TMP",
          flunkOnFailure=False))
  factory.addStep(MakeDirectory(
          dir="tmp/TMPDIR",
          flunkOnFailure=False))

My builders are capturing them in every build.


http://reviews.llvm.org/D12869





More information about the llvm-commits mailing list