[PATCH] D38741: [lit] Add host_cxx to lit config

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 10 09:19:31 PDT 2017


fjricci created this revision.

This is required to get the clang version for sanitized builds.


https://reviews.llvm.org/D38741

Files:
  test/lit.site.cfg.py.in


Index: test/lit.site.cfg.py.in
===================================================================
--- test/lit.site.cfg.py.in
+++ test/lit.site.cfg.py.in
@@ -14,6 +14,7 @@
 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@


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38741.118405.patch
Type: text/x-patch
Size: 473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171010/cd5ee575/attachment.bin>


More information about the llvm-commits mailing list