[all-commits] [llvm/llvm-project] 93c46e: [libc++] Use explicit module cache path in tests

Alex Brachet via All-commits all-commits at lists.llvm.org
Tue Jun 14 11:08:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93c46e9632a60017d20f559963b14b095b6de497
      https://github.com/llvm/llvm-project/commit/93c46e9632a60017d20f559963b14b095b6de497
  Author: Alex Brachet <abrachet at google.com>
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
    M libcxx/test/libcxx/modules_include.sh.cpp

  Log Message:
  -----------
  [libc++] Use explicit module cache path in tests

For reference, this test creates about 1.5G in the cache
directory. By default this will go to ~/.cache/clang/
which can fill up quick. This changes the test to put the
cache path in lit temp directories. Size considerations
aside it makes sense for tests to be hermetic and not
touch global system state.

Differential revision: https://reviews.llvm.org/D127587




More information about the All-commits mailing list