[PATCH] D121751: [gn] Add LLVM_HOST_TRIPLE for clang-tools-extra/test/lit.site.cfg.py.in

Zequan Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 15 16:06:47 PDT 2022


zequanwu created this revision.
zequanwu added reviewers: thakis, sammccall.
Herald added a project: All.
zequanwu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

D121422 <https://reviews.llvm.org/D121422> adds `@LLVM_HOST_TRIPLE@`. Updating BUILD.gn to green bot.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121751

Files:
  llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn


Index: llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn
+++ llvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn
@@ -38,6 +38,7 @@
     "LLVM_LIT_TOOLS_DIR=",  # Intentionally empty, matches cmake build.
     "LLVM_TOOLS_DIR=" + rebase_path("$root_out_dir/bin"),
     "Python3_EXECUTABLE=$python_path",
+    "LLVM_HOST_TRIPLE=$llvm_current_triple",
   ]
 
   if (clang_tidy_enable_static_analyzer) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121751.415620.patch
Type: text/x-patch
Size: 538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220315/afd93e88/attachment.bin>


More information about the llvm-commits mailing list