Joris Van den Bossche created ARROW-18126:
---------------------------------------------

             Summary: [Python] ARROW_BUILD_DIR might be ignored for building 
pyarrow?
                 Key: ARROW-18126
                 URL: https://issues.apache.org/jira/browse/ARROW-18126
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
            Reporter: Joris Van den Bossche


When building pyarrow, I see the following warning:

{code}
CMake Warning:
  Manually-specified variables were not used by the project:

    ARROW_BUILD_DIR
{code}

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

bq. 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])



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to