[ 
https://issues.apache.org/jira/browse/ARROW-18126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17623760#comment-17623760
 ] 

Alenka Frim commented on ARROW-18126:
-------------------------------------

Ok, this is the commit that removed the code from the flight setup in PyArrow 
C++ CMake file 
[https://github.com/apache/arrow/pull/13311/commits/0eaf8e2a1cfcc0f1eeaa39cb97dce85cb68382ae]
 that used ARROW_BUILD_DIR.

It is completely safe and sensible to remove the env variable as it is not 
needed anymore - will make a PR.

> [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
>            Priority: Major
>
> 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