[clang] d9e4f2c - [CMake][Fuchsia] Revert back to using normalized triples (#98189)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 9 10:27:42 PDT 2024


Author: Petr Hosek
Date: 2024-07-09T10:27:38-07:00
New Revision: d9e4f2cba8171807f6d2a6ddc615ccb902a20a5f

URL: https://github.com/llvm/llvm-project/commit/d9e4f2cba8171807f6d2a6ddc615ccb902a20a5f
DIFF: https://github.com/llvm/llvm-project/commit/d9e4f2cba8171807f6d2a6ddc615ccb902a20a5f.diff

LOG: [CMake][Fuchsia] Revert back to using normalized triples (#98189)

We switched to denormalized triples in #89425 but that introduced a lot
of downstream issues so switch back to normalized triples.

Added: 
    

Modified: 
    clang/cmake/caches/Fuchsia-stage2.cmake

Removed: 
    


################################################################################
diff  --git a/clang/cmake/caches/Fuchsia-stage2.cmake b/clang/cmake/caches/Fuchsia-stage2.cmake
index 52687a2cf8ea9..9892b5d58e719 100644
--- a/clang/cmake/caches/Fuchsia-stage2.cmake
+++ b/clang/cmake/caches/Fuchsia-stage2.cmake
@@ -141,7 +141,7 @@ if(WIN32 OR LLVM_WINSYSROOT)
   set(RUNTIMES_${target}_CMAKE_MODULE_LINKER_FLAGS ${WINDOWS_LINK_FLAGS} CACHE STRING "")
 endif()
 
-foreach(target aarch64-linux-gnu;armv7-linux-gnueabihf;i386-linux-gnu;riscv64-linux-gnu;x86_64-linux-gnu)
+foreach(target aarch64-unknown-linux-gnu;armv7-unknown-linux-gnueabihf;i386-unknown-linux-gnu;riscv64-unknown-linux-gnu;x86_64-unknown-linux-gnu)
   if(LINUX_${target}_SYSROOT)
     # Set the per-target builtins options.
     list(APPEND BUILTIN_TARGETS "${target}")


        


More information about the cfe-commits mailing list