[libcxxabi] r320445 - [libcxxabi] Pass LIBCXXABI_SYSROOT and LIBCXXABI_GCC_TOOLCHAIN to lit
Petr Hosek via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 11 17:20:37 PST 2017
Author: phosek
Date: Mon Dec 11 17:20:37 2017
New Revision: 320445
URL: http://llvm.org/viewvc/llvm-project?rev=320445&view=rev
Log:
[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
Modified:
libcxxabi/trunk/test/lit.site.cfg.in
Modified: libcxxabi/trunk/test/lit.site.cfg.in
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/lit.site.cfg.in?rev=320445&r1=320444&r2=320445&view=diff
==============================================================================
--- libcxxabi/trunk/test/lit.site.cfg.in (original)
+++ libcxxabi/trunk/test/lit.site.cfg.in Mon Dec 11 17:20:37 2017
@@ -20,6 +20,8 @@ config.enable_exceptions = "@LIBC
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.
More information about the cfe-commits
mailing list