[ 
https://issues.apache.org/jira/browse/ARROW-7422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16998973#comment-16998973
 ] 

Antoine Pitrou edited comment on ARROW-7422 at 12/18/19 9:22 AM:
-----------------------------------------------------------------

Apparently CMAKE_SYSTEM_PROCESSOR could be used: 
https://cmake.org/cmake/help/v3.16/variable/CMAKE_SYSTEM_PROCESSOR.html

Edit: not sure actually. Looks like that variable is optional: 
https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/CrossCompiling


was (Author: pitrou):
Apparently CMAKE_SYSTEM_PROCESSOR could be used: 
https://cmake.org/cmake/help/v3.16/variable/CMAKE_SYSTEM_PROCESSOR.html

> Improper CPU flags failing pyarrow install in ARM devices
> ---------------------------------------------------------
>
>                 Key: ARROW-7422
>                 URL: https://issues.apache.org/jira/browse/ARROW-7422
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 0.15.1
>         Environment: ARMv8 Jetson Nano with CUDA capable GPU
> Ubuntu 18.04.1
> gcc version 7.4.0
> cmake version 3.10.2
>            Reporter: Abishek Muthian
>            Priority: Major
>
> Improper CPU flags failing build in-spite of routines explicitly checking 
> whether compiler supports those flags. Since pyarrow package in the pip has 
> configuration errors, building from the source is the only option but the 
> installation fails due to several issues, this being one of them.
> Had to manually remove SSE4, AltiVec related flags from the 
> *DefineOptions.cmake* & *SetupCxxFlags.cmake* to avoid this error in-spite of 
> routines to check whether compiler can handle this flags.
> There are other errors after doing this(they don't seem to be related to CPU 
> flags, so I have opened separate issue).
> Log is in the external issue URL.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to