[ 
https://issues.apache.org/jira/browse/ARROW-15185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated ARROW-15185:
-----------------------------------
    Labels: pull-request-available  (was: )

> Arrow R doesn't build correctly if Arrow C++ was configured with lowercase 
> flags
> --------------------------------------------------------------------------------
>
>                 Key: ARROW-15185
>                 URL: https://issues.apache.org/jira/browse/ARROW-15185
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>            Reporter: Alessandro Molina
>            Assignee: Alessandro Molina
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 7.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I use to configure ARROW C++ using lowercase flag names {{"on"}} instead of 
> {{{}"ON"{}}}, that works fine with the C++ library and Python library, but 
> leads to build errors on R.
> That's because the R build process looks for compile flags in 
> {{ArrowOptions.cmake}} and those compile flags are compared with the 
> uppercase ones.
> So in my {{ArrowOptions.cmake}} I had
> {code:java}
> ### Build the Parquet libraries
> set(ARROW_PARQUET "on") {code}
> while the R build script was looking for
> {code:java}
> grep 'set(ARROW_PARQUET "ON")' $ARROW_OPTS_CMAKE {code}
> this can be addressed by making those greps case insensitive



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to