[PATCH] D110377: compiler-rt: Fix arch detection for ppc64le

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 23 18:20:00 PDT 2021


tstellar created this revision.
Herald added subscribers: shchenz, mgorny, dberris.
tstellar requested review of this revision.
Herald added a project: Sanitizers.
Herald added a subscriber: Sanitizers.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110377

Files:
  compiler-rt/cmake/base-config-ix.cmake


Index: compiler-rt/cmake/base-config-ix.cmake
===================================================================
--- compiler-rt/cmake/base-config-ix.cmake
+++ compiler-rt/cmake/base-config-ix.cmake
@@ -210,7 +210,7 @@
           test_target_arch(x86_64 "" "")
         endif()
       endif()
-    elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "powerpc64le")
+    elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "powerpc64le|ppc64le")
       test_target_arch(powerpc64le "" "-m64")
     elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "powerpc")
       if(CMAKE_SYSTEM_NAME MATCHES "AIX")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110377.374705.patch
Type: text/x-patch
Size: 604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210924/dd712f92/attachment.bin>


More information about the llvm-commits mailing list