Skip to content

Commit 3da0658

Browse files
committed
Revert "CompilerRT: Normalize COMPILER_RT_DEFAULT_TARGET_TRIPLE (#88835)"
This reverts commit 16f1887. This broke Libcxx Picolib testing at the install step, and builds for Windows builtins. Revert while we figure out the cause.
1 parent d17db60 commit 3da0658

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

compiler-rt/cmake/Modules/CompilerRTUtils.cmake

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -368,12 +368,6 @@ macro(construct_compiler_rt_default_triple)
368368
"Default triple for which compiler-rt runtimes will be built.")
369369
endif()
370370

371-
if ("${CMAKE_C_COMPILER_ID}" MATCHES "Clang")
372-
execute_process(COMMAND ${CMAKE_C_COMPILER} --target=${COMPILER_RT_DEFAULT_TARGET_TRIPLE} -print-effective-triple
373-
OUTPUT_VARIABLE COMPILER_RT_DEFAULT_TARGET_TRIPLE
374-
OUTPUT_STRIP_TRAILING_WHITESPACE)
375-
endif()
376-
377371
string(REPLACE "-" ";" LLVM_TARGET_TRIPLE_LIST ${COMPILER_RT_DEFAULT_TARGET_TRIPLE})
378372
list(GET LLVM_TARGET_TRIPLE_LIST 0 COMPILER_RT_DEFAULT_TARGET_ARCH)
379373

0 commit comments

Comments
 (0)