Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-15185

Arrow R doesn't build correctly if Arrow C++ was configured with lowercase flags

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0
    • R

    Description

      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

      ### Build the Parquet libraries
      set(ARROW_PARQUET "on") 

      while the R build script was looking for

      grep 'set(ARROW_PARQUET "ON")' $ARROW_OPTS_CMAKE 

      this can be addressed by making those greps case insensitive

      Attachments

        Issue Links

          Activity

            People

              amol- Alessandro Molina
              amol- Alessandro Molina
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m