From: Keno Fischer Date: Thu, 25 Apr 2019 21:28:03 +0000 (+0000) Subject: [CMake][PowerPC] Recognize LLVM_NATIVE_TARGET="ppc64le" as PowerPC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d8655b728cebe4077f6fc12ddaa59294c9f718a;p=llvm [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359242 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index b010d08332e..5bf301f3cfd 100644 --- a/cmake/config-ix.cmake +++ b/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")