[compiler-rt] 30029e7 - [compiler-rt][CMake] Support powerpc32 on Linux
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 26 13:28:26 PST 2021
Author: Patrick Oppenlander
Date: 2021-11-26T13:28:20-08:00
New Revision: 30029e7407c8d7fa77dadbeeeb0769f1169e98f8
URL: https://github.com/llvm/llvm-project/commit/30029e7407c8d7fa77dadbeeeb0769f1169e98f8
DIFF: https://github.com/llvm/llvm-project/commit/30029e7407c8d7fa77dadbeeeb0769f1169e98f8.diff
LOG: [compiler-rt][CMake] Support powerpc32 on Linux
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D98831
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 a97165de955ac..447232e02438e 100644
--- a/compiler-rt/cmake/base-config-ix.cmake
+++ b/compiler-rt/cmake/base-config-ix.cmake
@@ -213,9 +213,7 @@ macro(test_targets)
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")
- test_target_arch(powerpc "" "-m32")
- endif()
+ test_target_arch(powerpc "" "-m32")
test_target_arch(powerpc64 "" "-m64")
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "s390x")
test_target_arch(s390x "" "")
More information about the llvm-commits
mailing list