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)