pitrou commented on code in PR #13902:
URL: https://github.com/apache/arrow/pull/13902#discussion_r947261702


##########
cpp/cmake_modules/SetupCxxFlags.cmake:
##########
@@ -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")

Review Comment:
   "MATCHES" should match a substring (it does a regex match), though it's 
worth checking.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to