[libunwind] r319823 - [libunwind] Pass LIBUNWIND_SYSROOT and LIBUNWIND_GCC_TOOLCHAIN to lit

Petr Hosek via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 5 12:22:10 PST 2017


Author: phosek
Date: Tue Dec  5 12:22:10 2017
New Revision: 319823

URL: http://llvm.org/viewvc/llvm-project?rev=319823&view=rev
Log:
[libunwind] Pass LIBUNWIND_SYSROOT and LIBUNWIND_GCC_TOOLCHAIN to lit

These are expected to be set by the shared lit scripts used from
libc++.

Differential Revision: https://reviews.llvm.org/D40817

Modified:
    libunwind/trunk/test/lit.site.cfg.in

Modified: libunwind/trunk/test/lit.site.cfg.in
URL: http://llvm.org/viewvc/llvm-project/libunwind/trunk/test/lit.site.cfg.in?rev=319823&r1=319822&r2=319823&view=diff
==============================================================================
--- libunwind/trunk/test/lit.site.cfg.in (original)
+++ libunwind/trunk/test/lit.site.cfg.in Tue Dec  5 12:22:10 2017
@@ -19,6 +19,8 @@ config.enable_exceptions        = "@LIBU
 config.host_triple              = "@LLVM_HOST_TRIPLE@"
 config.target_triple            = "@TARGET_TRIPLE@"
 config.use_target               = len("@LIBUNWIND_TARGET_TRIPLE@") > 0
+config.sysroot                  = "@LIBUNWIND_SYSROOT@"
+config.gcc_toolchain            = "@LIBUNWIND_GCC_TOOLCHAIN@"
 config.cxx_ext_threads          = "@LIBUNWIND_BUILD_EXTERNAL_THREAD_LIBRARY@"
 
 # Let the main config do the real work.




More information about the cfe-commits mailing list