Skip to content

Commit 697458f

Browse files
author
Pavel Chupin
authored
Rename TARGET_TRIPLE to LLVM_TARGET_TRIPLE (#1437)
Required after this change done in LLVM upstream: commit 0c0f6cfb7b9fab0ee69ef67ed95c194698c9d794 Author: Petr Hosek <[email protected]> [CMake] Rename TARGET_TRIPLE to LLVM_TARGET_TRIPLE This clarifies that this is an LLVM specific variable and avoids potential conflicts with other projects. Differential Revision: https://reviews.llvm.org/D119918 Can be observed as: lit.py: /usr/lib/llvm-15/build/utils/lit/lit/llvm/config.py:304: fatal: Could not turn '' into Itanium ABI triple
1 parent aa867b7 commit 697458f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lit.site.cfg.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ config.llvm_shlib_dir = "@SHLIBDIR@"
1111
config.llvm_plugin_ext = "@LLVM_PLUGIN_EXT@"
1212
config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
1313
config.host_triple = "@LLVM_HOST_TRIPLE@"
14-
config.target_triple = "@TARGET_TRIPLE@"
14+
config.target_triple = "@LLVM_TARGET_TRIPLE@"
1515
config.host_arch = "@HOST_ARCH@"
1616
config.python_executable = "@PYTHON_EXECUTABLE@"
1717
config.test_run_dir = "@CMAKE_CURRENT_BINARY_DIR@"

0 commit comments

Comments
 (0)