[PATCH] D133406: [compiler-rt] Handle non-canonical triples with new runtime lib layout

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 11 02:26:35 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGcadc9cdedfef: [compiler-rt] Handle non-canonical triples with new runtime lib layout (authored by ro).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133406/new/

https://reviews.llvm.org/D133406

Files:
  compiler-rt/cmake/Modules/CompilerRTUtils.cmake


Index: compiler-rt/cmake/Modules/CompilerRTUtils.cmake
===================================================================
--- compiler-rt/cmake/Modules/CompilerRTUtils.cmake
+++ compiler-rt/cmake/Modules/CompilerRTUtils.cmake
@@ -484,6 +484,10 @@
     set(target "${COMPILER_RT_DEFAULT_TARGET_TRIPLE}")
   elseif(ANDROID AND ${arch} STREQUAL "i386")
     set(target "i686${triple_suffix}")
+  elseif(${arch} STREQUAL "amd64")
+    set(target "x86_64${triple_suffix}")
+  elseif(${arch} STREQUAL "sparc64")
+    set(target "sparcv9${triple_suffix}")
   else()
     set(target "${arch}${triple_suffix}")
   endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133406.459341.patch
Type: text/x-patch
Size: 614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220911/6f668e7c/attachment.bin>


More information about the llvm-commits mailing list