From 9d30c313f1d8d441cdc50e229ceb68d5fdbee38a Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Tue, 5 Dec 2017 20:22:10 +0000 Subject: [PATCH] [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 llvm-svn: 319823 --- libunwind/test/lit.site.cfg.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libunwind/test/lit.site.cfg.in b/libunwind/test/lit.site.cfg.in index 3ed0c74bc711..888b96075f94 100644 --- a/libunwind/test/lit.site.cfg.in +++ b/libunwind/test/lit.site.cfg.in @@ -19,6 +19,8 @@ config.enable_exceptions = "@LIBUNWIND_ENABLE_EXCEPTIONS@" 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.