[PATCH] D40816: [libunwind] Use the correct variable name for target triple in lit

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 4 16:30:37 PST 2017


phosek created this revision.

The variable representing target triple in libunwind is named
LIBUNWIND_TARGET_TRIPLE, not TARGET_TRIPLE.


Repository:
  rL LLVM

https://reviews.llvm.org/D40816

Files:
  test/lit.site.cfg.in


Index: test/lit.site.cfg.in
===================================================================
--- test/lit.site.cfg.in
+++ test/lit.site.cfg.in
@@ -17,7 +17,7 @@
 config.enable_shared            = "@LIBCXX_ENABLE_SHARED@"
 config.enable_exceptions        = "@LIBUNWIND_ENABLE_EXCEPTIONS@"
 config.host_triple              = "@LLVM_HOST_TRIPLE@"
-config.target_triple            = "@TARGET_TRIPLE@"
+config.target_triple            = "@LIBUNWIND_TARGET_TRIPLE@"
 config.use_target               = len("@LIBUNWIND_TARGET_TRIPLE@") > 0
 config.cxx_ext_threads          = "@LIBUNWIND_BUILD_EXTERNAL_THREAD_LIBRARY@"
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40816.125454.patch
Type: text/x-patch
Size: 616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171205/0830799c/attachment.bin>


More information about the cfe-commits mailing list