Skip to content

Commit 6a0de3a

Browse files
authored
Add missing RISC-V architecture in arch.cmake
RISC-V support exists in Makefile.system but is missing in arch.cmake. This patch adds riscv64 platform support to cmake building system just like https://github.com/xianyi/OpenBLAS/blob/039e27545f93fd54f9a04113f6883ee47a690004/Makefile.system#L830-L832 did.
1 parent 039e275 commit 6a0de3a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

cmake/arch.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,3 +135,8 @@ if (ARM64)
135135
set(BINARY_DEFINED 1)
136136
endif ()
137137

138+
if (${ARCH} STREQUAL "riscv64")
139+
set(NO_BINARY_MODE 1)
140+
set(BINARY_DEFINED 1)
141+
endif ()
142+

0 commit comments

Comments
 (0)