diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index aaf22ff474b7..910554296008 100644 --- a/cmake/config-ix.cmake +++ b/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 ()