Skip to content

[Python] Remove ARROW_BUILD_DIR in building pyarrow C++ #33323

@asfimport

Description

@asfimport

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 @AlenkaF)

Reporter: Joris Van den Bossche / @jorisvandenbossche
Assignee: Alenka Frim / @AlenkaF

PRs and other links:

Note: This issue was originally created as ARROW-18126. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions