From e008be2b0723f982cb53c4f9af3e97d608e001bc Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Thu, 25 Apr 2019 21:28:03 +0000 Subject: [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 --- llvm/cmake/config-ix.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/cmake/config-ix.cmake') diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake index b010d08332e..5bf301f3cfd 100644 --- a/llvm/cmake/config-ix.cmake +++ b/llvm/cmake/config-ix.cmake @@ -393,6 +393,8 @@ elseif (LLVM_NATIVE_ARCH MATCHES "sparc") set(LLVM_NATIVE_ARCH Sparc) elseif (LLVM_NATIVE_ARCH MATCHES "powerpc") set(LLVM_NATIVE_ARCH PowerPC) +elseif (LLVM_NATIVE_ARCH MATCHES "ppc64le") + set(LLVM_NATIVE_ARCH PowerPC) elseif (LLVM_NATIVE_ARCH MATCHES "aarch64") set(LLVM_NATIVE_ARCH AArch64) elseif (LLVM_NATIVE_ARCH MATCHES "arm64") -- cgit v1.2.3