You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/06/23 00:21:32 UTC

[GitHub] [arrow] kou commented on issue #13422: Building C++ for M1 Macs

kou commented on issue #13422:
URL: https://github.com/apache/arrow/issues/13422#issuecomment-1163794297

   It seems that we can build binaries for M1 Mac by specifying `-target arm64-apple-macos11` to `clang++`: https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary
   
   CMake has a feature for cross compiling: https://cmake.org/cmake/help/book/mastering-cmake/chapter/Cross%20Compiling%20With%20CMake.html
   
   We'll be able to build binaries for M1 Mac on Intel Mac with them.


-- 
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-unsubscribe@arrow.apache.org

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