MugundanMCW commented on code in PR #48539:
URL: https://github.com/apache/arrow/pull/48539#discussion_r2684756368


##########
ci/scripts/python_wheel_windows_build.bat:
##########
@@ -145,8 +227,14 @@ pushd C:\arrow\python
 for /f %%i in ('dir dist\pyarrow-*.whl /B') do (set WHEEL_NAME=%cd%\dist\%%i) 
|| exit /B 1
 echo "Wheel name: %WHEEL_NAME%"
 
-%PYTHON_CMD% -m delvewheel repair -vv ^
-    --ignore-existing --with-mangle ^
-    -w repaired_wheels %WHEEL_NAME% || exit /B 1
+if "%arch%"=="ARM64" (
+    %PYTHON_CMD% -m delvewheel repair -vv --add-path "%ARROW_DIST%\bin" ^
+    --add-path "C:\vcpkg\installed\arm64-windows\bin" --ignore-existing ^
+    --with-mangle -w repaired_wheels %WHEEL_NAME% || exit /B 1

Review Comment:
   The --add-path options are added to help delvewheel to locate and bundle the 
native ARM64 DLL dependencies (vcpkg dlls+pyarrow dlls) that are not in 
standard system locations.



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