summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2017-12-12 01:20:37 +0000
committerPetr Hosek <phosek@chromium.org>2017-12-12 01:20:37 +0000
commit2ffea93c5734ca570747087ee2bd84d402e2aa8a (patch)
treecf9b284aab12273ce3732587f713d55c3671400d
parent53cff5161c46114e93421a59d9cfecdfad2a31fc (diff)
downloadbcm5719-llvm-2ffea93c5734ca570747087ee2bd84d402e2aa8a.tar.gz
bcm5719-llvm-2ffea93c5734ca570747087ee2bd84d402e2aa8a.zip
[libcxxabi] Pass LIBCXXABI_SYSROOT and LIBCXXABI_GCC_TOOLCHAIN to lit
These are expected to be set by the shared lit scripts used from libc++. Differential Revision: https://reviews.llvm.org/D40818 llvm-svn: 320445
-rw-r--r--libcxxabi/test/lit.site.cfg.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxxabi/test/lit.site.cfg.in b/libcxxabi/test/lit.site.cfg.in
index 0e40a29d820..a66c9e4698c 100644
--- a/libcxxabi/test/lit.site.cfg.in
+++ b/libcxxabi/test/lit.site.cfg.in
@@ -20,6 +20,8 @@ config.enable_exceptions = "@LIBCXXABI_ENABLE_EXCEPTIONS@"
config.host_triple = "@LLVM_HOST_TRIPLE@"
config.target_triple = "@TARGET_TRIPLE@"
config.use_target = len("@LIBCXXABI_TARGET_TRIPLE@") > 0
+config.sysroot = "@LIBCXXABI_SYSROOT@"
+config.gcc_toolchain = "@LIBCXXABI_GCC_TOOLCHAIN@"
config.cxx_ext_threads = "@LIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY@"
# Let the main config do the real work.
OpenPOWER on IntegriCloud