Skip to content

Commit e009ced

Browse files
authoredApr 7, 2025
[ATfE] Use normalized 4-field triple for LLVM_DEFAULT_TARGET_TRIPLE (#256)
After upstream changes in #122629, omitting the vendor in the default target triple will cause the driver to incorrectly normalize it in certain tests. This patch sets the default to the normalized version to avoid the failures.
1 parent 1fef3c9 commit e009ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎arm-software/embedded/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ installed by the install-llvm-toolchain target"
235235
)
236236
set(LLVM_ENABLE_PROJECTS clang;lld CACHE STRING "")
237237
set(LLVM_TARGETS_TO_BUILD AArch64;ARM CACHE STRING "")
238-
set(LLVM_DEFAULT_TARGET_TRIPLE aarch64-linux-gnu CACHE STRING "")
238+
set(LLVM_DEFAULT_TARGET_TRIPLE aarch64-unknown-linux-gnu CACHE STRING "")
239239
set(LLVM_APPEND_VC_REV OFF CACHE BOOL "")
240240
set(LLVM_ENABLE_TERMINFO OFF CACHE BOOL "")
241241
set(LLVM_ENABLE_ZLIB OFF CACHE BOOL "")

0 commit comments

Comments
 (0)
Please sign in to comment.