aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/toolchain.cmake.in
diff options
context:
space:
mode:
authorTheCharlatan <seb.kung@gmail.com>2019-06-27 00:25:47 +0200
committerTheCharlatan <seb.kung@gmail.com>2019-08-20 15:24:47 +0200
commit13c0b8c265727ae1e0e9c604ea3fbf44bb749f2c (patch)
tree39cae8d5601ac9a267509b9322ee3e9b9c9e589e /contrib/depends/toolchain.cmake.in
parentMerge pull request #5635 (diff)
downloadmonero-13c0b8c265727ae1e0e9c604ea3fbf44bb749f2c.tar.xz
Add depends riscv 64 bit support
Diffstat (limited to '')
-rw-r--r--contrib/depends/toolchain.cmake.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/depends/toolchain.cmake.in b/contrib/depends/toolchain.cmake.in
index ee0407a5e..b748f5c55 100644
--- a/contrib/depends/toolchain.cmake.in
+++ b/contrib/depends/toolchain.cmake.in
@@ -98,6 +98,11 @@ elseif(ARCHITECTURE STREQUAL "aarch64")
set(BUILD_64 ON)
endif()
+if(ARCHITECTURE STREQUAL "riscv64")
+ set(NO_AES ON)
+ set(ARCH "rv64imafdc")
+endif()
+
if(ARCHITECTURE STREQUAL "i686" AND CMAKE_SYSTEM_NAME STREQUAL "Linux")
SET(LINUX_32 ON)
SET(ARCH_ID "i386")