forked from OSchip/llvm-project
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
This commit is contained in:
parent
d5c558ff21
commit
8afcd938ed
|
@ -441,6 +441,10 @@ elseif (LLVM_NATIVE_ARCH MATCHES "wasm32")
|
||||||
set(LLVM_NATIVE_ARCH WebAssembly)
|
set(LLVM_NATIVE_ARCH WebAssembly)
|
||||||
elseif (LLVM_NATIVE_ARCH MATCHES "wasm64")
|
elseif (LLVM_NATIVE_ARCH MATCHES "wasm64")
|
||||||
set(LLVM_NATIVE_ARCH WebAssembly)
|
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 ()
|
else ()
|
||||||
message(FATAL_ERROR "Unknown architecture ${LLVM_NATIVE_ARCH}")
|
message(FATAL_ERROR "Unknown architecture ${LLVM_NATIVE_ARCH}")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
Loading…
Reference in New Issue