From: Francis Ricci Date: Tue, 10 Oct 2017 17:53:45 +0000 (+0000) Subject: [lit] Add host_cxx to lit config X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0fa621d8a3f772119df37e45bf509b9583546960;p=clang [lit] Add host_cxx to lit config Summary: This is required to get the clang version for sanitized builds. Reviewers: zturner Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D38741 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315338 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/lit.site.cfg.py.in b/test/lit.site.cfg.py.in index 5d75ea4f32..9d2b4c5918 100644 --- a/test/lit.site.cfg.py.in +++ b/test/lit.site.cfg.py.in @@ -14,6 +14,7 @@ config.clang_src_dir = "@CLANG_SOURCE_DIR@" config.clang_tools_dir = "@CLANG_TOOLS_DIR@" config.host_triple = "@LLVM_HOST_TRIPLE@" config.target_triple = "@TARGET_TRIPLE@" +config.host_cxx = "@CMAKE_CXX_COMPILER@" config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@" config.have_zlib = @HAVE_LIBZ@ config.clang_arcmt = @CLANG_ENABLE_ARCMT@