Greenie0701 commented on issue #40812:
URL: https://github.com/apache/arrow/issues/40812#issuecomment-3274508010

   To build the Python version of Arrow (pyarrow) for Windows ARM64, follow 
these steps:
   
   - Set up Vcpkg and install all the required dependencies for Arrow. (Note: 
Building the fully optimized pyarrow library may require around 126 libraries 
via Vcpkg.)
   - Install the latest stable LLVM toolchain for Windows on ARM (WoA) and 
ensure you're using clang-cl for the build process.
   - Avoid using MSVC, as it lacks support for several dispatch units used by 
Arrow. Using clang-cl helps prevent compatibility issues and wasted effort.
   - Build the C++ version of Arrow first using CMake. Use appropriate CMake 
flags to configure the build for clang-cl.
   - Set the PYARROW_HOME environment variable to the installation directory of 
your C++ Arrow build.
   -  In the python directory of the Arrow source:
       - Patch the setup.py script to ensure it uses clang-cl, just like you 
did for the C++ build.
   - Build pyarrow using the modified setup.py.
   - Repair the generated wheel, ensuring all required DLLs are correctly 
linked.


-- 
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