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

Francois Saint-Jacques commented on ARROW-7501:
-----------------------------------------------

It doesn't look like OSX is building/installing bison, it fallback to brew's 
installed bison if there's one. IMHO, we shouldn't try to build them, it's ok 
to ask the user/developper for build toolchain dependencies  e.g. compilers,  
cmake, and yacc/flex (bison). 

Another option would be to graciously fallback and disable parquet if thrift 
can't be compiled.

> [C++] CMake build_thrift should build flex and bison if necessary
> -----------------------------------------------------------------
>
>                 Key: ARROW-7501
>                 URL: https://issues.apache.org/jira/browse/ARROW-7501
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Neal Richardson
>            Priority: Major
>             Fix For: 1.0.0
>
>
> On MSVC and APPLE, {{build_thrift}} will handle thrift's flex and bison 
> dependencies: 
> [https://github.com/apache/arrow/blob/f578521/cpp/cmake_modules/ThirdpartyToolchain.cmake#L1052-L1097]
> But you're on your own on linux. In ARROW-6793, I wrote 100 lines of R code 
> to do this for my needs: 
> [https://github.com/apache/arrow/pull/6068/files#diff-3875fa5e75833c426b36487b25892bd8R204-R309]
> We should translate this to CMake so it's generally available.



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

Reply via email to