[PATCH] D44153: Build system changes for RISCV

Azharuddin Mohammed via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 13 10:07:31 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL327423: Build system changes for RISCV (authored by azharudd, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D44153?vs=137195&id=138220#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D44153

Files:
  llvm/trunk/cmake/config-ix.cmake


Index: llvm/trunk/cmake/config-ix.cmake
===================================================================
--- llvm/trunk/cmake/config-ix.cmake
+++ llvm/trunk/cmake/config-ix.cmake
@@ -441,6 +441,10 @@
   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 ()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44153.138220.patch
Type: text/x-patch
Size: 559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180313/d7814565/attachment.bin>


More information about the llvm-commits mailing list