Skip to content

Commit e008be2

Browse files
committed
[CMake][PowerPC] Recognize LLVM_NATIVE_TARGET="ppc64le" as PowerPC
Summary: This value is derived from the host triple, which on the machine I'm currently using is `ppc64le-linux-redhat`. This change makes LLVM compile. Reviewers: nemanjai Differential Revision: https://reviews.llvm.org/D57118 llvm-svn: 359242
1 parent cef8481 commit e008be2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/cmake/config-ix.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,8 @@ elseif (LLVM_NATIVE_ARCH MATCHES "sparc")
393393
set(LLVM_NATIVE_ARCH Sparc)
394394
elseif (LLVM_NATIVE_ARCH MATCHES "powerpc")
395395
set(LLVM_NATIVE_ARCH PowerPC)
396+
elseif (LLVM_NATIVE_ARCH MATCHES "ppc64le")
397+
set(LLVM_NATIVE_ARCH PowerPC)
396398
elseif (LLVM_NATIVE_ARCH MATCHES "aarch64")
397399
set(LLVM_NATIVE_ARCH AArch64)
398400
elseif (LLVM_NATIVE_ARCH MATCHES "arm64")

0 commit comments

Comments
 (0)