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

[Python] Remove ARROW_BUILD_DIR in building pyarrow C++

    XMLWordPrintableJSON

Details

    Description

      When building pyarrow, I see the following warning:

      CMake Warning:
        Manually-specified variables were not used by the project:
      
          ARROW_BUILD_DIR
      

      While we have a note in our docs (https://arrow.apache.org/docs/dev/developers/python.html#build-and-test) that says:

      If you used a different directory name for building Arrow C++ (by default it is named “build”), then you should also set the environment variable ARROW_BUILD_DIR='name_of_build_dir'. This way PyArrow can find the Arrow C++ built files.

      I see in the setup.py code that we check for this env variable and pass it to CMake, but it's not actually used in any of the CMakeLists.txt files for pyarrow.

      This might have been accidentally changed in one of the recent cmake refactors? (cc kou alenka)

      Attachments

        Issue Links

          Activity

            People

              alenka Alenka Frim
              jorisvandenbossche Joris Van den Bossche
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 0.5h
                  0.5h