aboutsummaryrefslogtreecommitdiff
path: root/cmake/builtin-config-ix.cmake
diff options
context:
space:
mode:
authorShiva Chen <shiva0217@gmail.com>2018-03-01 07:47:27 +0000
committerShiva Chen <shiva0217@gmail.com>2018-03-01 07:47:27 +0000
commit9008dc9a4e6c3ac1eb7cdd910c8f74099420d911 (patch)
tree5eb0a76d95b65e0798648433450985adee989136 /cmake/builtin-config-ix.cmake
parentcb51fdb0ad4f3c34c5a7212a1b93163a7489fb76 (diff)
[PATCH] [compiler-rt, RISCV] Support builtins for RISC-V
Summary: Support builtins for RISC-V, RV32 and RV64. Reviewers: asb, apazos, mgrang Differential Revision: https://reviews.llvm.org/D42958 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@326420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/builtin-config-ix.cmake')
-rw-r--r--cmake/builtin-config-ix.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/builtin-config-ix.cmake b/cmake/builtin-config-ix.cmake
index bdb2529b5..eda5f4641 100644
--- a/cmake/builtin-config-ix.cmake
+++ b/cmake/builtin-config-ix.cmake
@@ -30,6 +30,8 @@ set(X86_64 x86_64)
set(MIPS32 mips mipsel)
set(MIPS64 mips64 mips64el)
set(PPC64 powerpc64 powerpc64le)
+set(RISCV32 riscv32)
+set(RISCV64 riscv64)
set(WASM32 wasm32)
set(WASM64 wasm64)
@@ -40,7 +42,7 @@ if(APPLE)
endif()
set(ALL_BUILTIN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64}
- ${MIPS32} ${MIPS64} ${PPC64} ${WASM32} ${WASM64})
+ ${MIPS32} ${MIPS64} ${PPC64} ${RISCV32} ${RISCV64} ${WASM32} ${WASM64})
include(CompilerRTUtils)
include(CompilerRTDarwinUtils)