summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/config-ix.cmake
diff options
context:
space:
mode:
authorKeno Fischer <keno@alumni.harvard.edu>2019-04-25 21:28:03 +0000
committerKeno Fischer <keno@alumni.harvard.edu>2019-04-25 21:28:03 +0000
commite008be2b0723f982cb53c4f9af3e97d608e001bc (patch)
tree2e3d01f036fcfe139dd6c4c5186b61e02368486a /llvm/cmake/config-ix.cmake
parentcef8481af0133b123509ff3c27b5d6cef586d258 (diff)
downloadbcm5719-llvm-e008be2b0723f982cb53c4f9af3e97d608e001bc.tar.gz
bcm5719-llvm-e008be2b0723f982cb53c4f9af3e97d608e001bc.zip
[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
Diffstat (limited to 'llvm/cmake/config-ix.cmake')
-rw-r--r--llvm/cmake/config-ix.cmake2
1 files changed, 2 insertions, 0 deletions
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")
OpenPOWER on IntegriCloud