[PATCH] D40814: [libcxx] 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:27:35 PST 2017


phosek created this revision.

The variable representing target triple in libcxx is named
LIBCXX_TARGET_TRIPLE, not TARGET_TRIPLE.


Repository:
  rCXX libc++

https://reviews.llvm.org/D40814

Files:
  test/lit.site.cfg.in


Index: test/lit.site.cfg.in
===================================================================
--- test/lit.site.cfg.in
+++ test/lit.site.cfg.in
@@ -16,7 +16,7 @@
 config.abi_library_path         = "@LIBCXX_CXX_ABI_LIBRARY_PATH@"
 config.configuration_variant    = "@LIBCXX_LIT_VARIANT@"
 config.host_triple              = "@LLVM_HOST_TRIPLE@"
-config.target_triple            = "@TARGET_TRIPLE@"
+config.target_triple            = "@LIBCXX_TARGET_TRIPLE@"
 config.use_target               = len("@LIBCXX_TARGET_TRIPLE@") > 0
 config.sysroot                  = "@LIBCXX_SYSROOT@"
 config.gcc_toolchain            = "@LIBCXX_GCC_TOOLCHAIN@"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40814.125450.patch
Type: text/x-patch
Size: 641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171205/3b25b55c/attachment-0001.bin>


More information about the cfe-commits mailing list