Skip to content

Commit

Permalink
ARROW-17440: [C++] Support RISC-V architecture
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Yan <felixonmars@archlinux.org>
  • Loading branch information
felixonmars authored and cyb70289 committed Aug 17, 2022
1 parent 682c63a commit 27e49fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpp/cmake_modules/SetupCxxFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ if(NOT DEFINED ARROW_CPU_FLAG)
set(ARROW_CPU_FLAG "ppc")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "s390x")
set(ARROW_CPU_FLAG "s390x")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "riscv64")
set(ARROW_CPU_FLAG "riscv")
else()
set(ARROW_CPU_FLAG "x86")
endif()
Expand Down

0 comments on commit 27e49fe

Please sign in to comment.