kou commented on PR #41313:
URL: https://github.com/apache/arrow/pull/41313#issuecomment-2067870753

   
https://github.com/apache/arrow/actions/runs/8768627040/job/24063174654?pr=41313#step:5:2754
   
   ```text
     CMake Error at CMakeLists.txt:271 (find_package):
       By not providing "FindArrow.cmake" in CMAKE_MODULE_PATH this project has
       asked CMake to find a package configuration file provided by "Arrow", but
       CMake did not find one.
   
       Could not find a package configuration file provided by "Arrow" with any 
of
       the following names:
   
         ArrowConfig.cmake
         arrow-config.cmake
   
       Add the installation prefix of "Arrow" to CMAKE_PREFIX_PATH or set
       "Arrow_DIR" to a directory containing one of the above files.  If "Arrow"
       provides a separate development package or SDK, be sure it has been
       installed.
   ```
   
   It seems that Apache Arrow C++'s CMake package can't be found from PyArrow.
   
   How about this?
   
   ```diff
   diff --git a/ci/scripts/python_build.sh b/ci/scripts/python_build.sh
   index 7a24c1172f..99153cdf75 100755
   --- a/ci/scripts/python_build.sh
   +++ b/ci/scripts/python_build.sh
   @@ -74,6 +74,8 @@ export PYARROW_WITH_SUBSTRAIT=${ARROW_SUBSTRAIT:-OFF}
    
    export PYARROW_PARALLEL=${n_jobs}
    
   +: ${CMAKE_PREFIX_PATH:=${ARROW_HOME}}
   +export CMAKE_PREFIX_PATH
    export LD_LIBRARY_PATH=${ARROW_HOME}/lib:${LD_LIBRARY_PATH}
    
    pushd ${source_dir}
   ```
   
   BTW, it seems that ccache isn't used for PyArrow jobs on macOS. Could you 
open a new issue to use ccache for them?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to