[compiler-rt] 05c21f5 - compiler-rt: Fix arch detection for ppc64le
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 21 16:12:29 PDT 2021
Author: Tom Stellard
Date: 2021-10-21T16:12:13-07:00
New Revision: 05c21f54a454ebfa44be7825707e6061dc32afab
URL: https://github.com/llvm/llvm-project/commit/05c21f54a454ebfa44be7825707e6061dc32afab
DIFF: https://github.com/llvm/llvm-project/commit/05c21f54a454ebfa44be7825707e6061dc32afab.diff
LOG: compiler-rt: Fix arch detection for ppc64le
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D110377
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 8526252dc93a..a97165de955a 100644
--- a/compiler-rt/cmake/base-config-ix.cmake
+++ b/compiler-rt/cmake/base-config-ix.cmake
@@ -210,7 +210,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-commits
mailing list