tcrasset commented on issue #39132: URL: https://github.com/apache/arrow/issues/39132#issuecomment-1852937511
Setting `-DArrow_DIR=/home/tom/Documents/dev/dist_new/lib/cmake/Arrow/` made `find_packge(Arrow)` look there first, and it worked! I had to do the same for a few more packages, but I ended up being able to build it. `-DCMAKE_FIND_PACKAGE_REDIRECTS_DIR=/home/tom/Documents/dev/dist_new/lib/cmake/` [should have been enough](https://cmake.org/cmake/help/latest/variable/CMAKE_FIND_PACKAGE_REDIRECTS_DIR.html#variable:CMAKE_FIND_PACKAGE_REDIRECTS_DIR), but it didn't work. Final command: ``` PYARROW_CMAKE_OPTIONS="-DArrowDataset_DIR=/home/tom/Documents/dev/dist_new/lib/cmake/ArrowDataset -DArrowAcero_DIR=/home/tom/Documents/dev/dist_new/lib/cmake/ArrowAcero -DParquet_DIR=/home/tom/Documents/dev/dist_new/lib/cmake/Parquet/ -DCMAKE_FIND_DEBUG_MODE=ON -DArrow_DIR=/home/tom/Documents/dev/dist_new/lib/cmake/Arrow/" python setup.py build_ext --inplace ``` Also, now removing these variables still makes it work afterwards. Do you know how I can clean the cache (if there is one)? I want to be sure that this is what led me further. I tried: -`python setup.py clean` -`git clean -Xfd python` - `rm -rf arrow/python/build` to no avail. -- 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]
