summaryrefslogtreecommitdiff
path: root/test/tsan
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2018-03-07 18:14:09 +0000
committerPetr Hosek <phosek@chromium.org>2018-03-07 18:14:09 +0000
commit7bcd41f70ccc1b88195ea8804e88ac89d30b6e46 (patch)
tree0e9a0385254185605c167849255abadbbeaf8f9a /test/tsan
parentdf0d7bf4bc073d15b096b88a26ec7e7871c942d4 (diff)
[Fuzzer] Avoid the unnecessary rebuild of the custom libc++
This changes the add_custom_libcxx macro to resemble the llvm_ExternalProject_Add. The primary motivation is to avoid unnecessary libFuzzer rebuilds that are being done on every Ninja/Make invocation. The libc++ should be only rebuilt whenever the libc++ source itself changes. Differential Revision: https://reviews.llvm.org/D43213 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@326921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan')
-rw-r--r--test/tsan/lit.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/lit.cfg b/test/tsan/lit.cfg
index fdd3559ba..0128d958b 100644
--- a/test/tsan/lit.cfg
+++ b/test/tsan/lit.cfg
@@ -56,7 +56,7 @@ clang_tsan_cxxflags = config.cxx_mode_flags + clang_tsan_cflags + ["-std=c++11"]
if config.has_libcxx and config.host_os != 'Darwin':
# FIXME: Dehardcode this path somehow.
libcxx_path = os.path.join(config.compiler_rt_obj_root, "lib",
- "tsan", "libcxx_tsan_" + config.target_arch)
+ "tsan", "libcxx_tsan_%s" % config.target_arch)
libcxx_incdir = os.path.join(libcxx_path, "include", "c++", "v1")
libcxx_libdir = os.path.join(libcxx_path, "lib")
libcxx_so = os.path.join(libcxx_libdir, "libc++.so")