summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAzharuddin Mohammed <azharudd@codeaurora.org>2018-03-13 17:04:33 +0000
committerAzharuddin Mohammed <azharudd@codeaurora.org>2018-03-13 17:04:33 +0000
commit8afcd938ed9cc51dd7db79171d1b06d1e479b3dc (patch)
tree22cd70429e42c7ab9b0bf1f7de8adaea6a2a5735
parentd5c558ff216c94c5acf292047597736543bf7113 (diff)
downloadbcm5719-llvm-8afcd938ed9cc51dd7db79171d1b06d1e479b3dc.tar.gz
bcm5719-llvm-8afcd938ed9cc51dd7db79171d1b06d1e479b3dc.zip
Build system changes for RISCV
Summary: Build system changes for RISCV. Makes it possible to build just the RISCV target alone. Reviewers: asb, apazos, mgrang, beanz Reviewed By: asb Subscribers: mgorny, kito-cheng, shiva0217, llvm-commits Differential Revision: https://reviews.llvm.org/D44153 llvm-svn: 327423
-rw-r--r--llvm/cmake/config-ix.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake
index aaf22ff474b..91055429600 100644
--- a/llvm/cmake/config-ix.cmake
+++ b/llvm/cmake/config-ix.cmake
@@ -441,6 +441,10 @@ elseif (LLVM_NATIVE_ARCH MATCHES "wasm32")
set(LLVM_NATIVE_ARCH WebAssembly)
elseif (LLVM_NATIVE_ARCH MATCHES "wasm64")
set(LLVM_NATIVE_ARCH WebAssembly)
+elseif (LLVM_NATIVE_ARCH MATCHES "riscv32")
+ set(LLVM_NATIVE_ARCH RISCV)
+elseif (LLVM_NATIVE_ARCH MATCHES "riscv64")
+ set(LLVM_NATIVE_ARCH RISCV)
else ()
message(FATAL_ERROR "Unknown architecture ${LLVM_NATIVE_ARCH}")
endif ()
OpenPOWER on IntegriCloud