You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jonathan Keane (Jira)" <ji...@apache.org> on 2021/12/30 20:39:00 UTC

[jira] [Resolved] (ARROW-15185) Arrow R doesn't build correctly if Arrow C++ was configured with lowercase flags

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

Jonathan Keane resolved ARROW-15185.
------------------------------------
    Resolution: Fixed

Issue resolved by pull request 12017
[https://github.com/apache/arrow/pull/12017]

> 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: 0.5h
>  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)