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

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

Alessandro Molina created ARROW-15185:
-----------------------------------------

             Summary: 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
             Fix For: 7.0.0


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)