Skip to content

Commit 95d85a2

Browse files
authored
add support for riscv64
1 parent d46e30f commit 95d85a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/modules/SwiftSupport.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ function(get_swift_host_arch result_var_name)
4747
set("${result_var_name}" "i686" PARENT_SCOPE)
4848
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "wasm32")
4949
set("${result_var_name}" "wasm32" PARENT_SCOPE)
50+
elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "riscv64")
51+
set("${result_var_name}" "riscv64" PARENT_SCOPE)
5052
else()
5153
message(FATAL_ERROR "Unrecognized architecture on host system: ${CMAKE_SYSTEM_PROCESSOR}")
5254
endif()

0 commit comments

Comments
 (0)