[llvm-branch-commits] [compiler-rt] eb84552 - compiler-rt: Fix arch detection for ppc64le

Tom Stellard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Oct 27 07:35:27 PDT 2021


Author: Tom Stellard
Date: 2021-10-27T07:35:06-07:00
New Revision: eb845520ac3cd8f51bb84e3422da975a04c8bceb

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

LOG: compiler-rt: Fix arch detection for ppc64le

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D110377

(cherry picked from commit 05c21f54a454ebfa44be7825707e6061dc32afab)

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/compiler-rt/cmake/base-config-ix.cmake b/compiler-rt/cmake/base-config-ix.cmake
index c11342e68813b..3ca9dc0f5515d 100644
--- a/compiler-rt/cmake/base-config-ix.cmake
+++ b/compiler-rt/cmake/base-config-ix.cmake
@@ -204,7 +204,7 @@ macro(test_targets)
           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")


        


More information about the llvm-branch-commits mailing list