opencv-python
opencv-python copied to clipboard
Add CI support for building Windows on ARM wheels
PR Description:
- The adoption of Windows on ARM (WoA) devices is steadily increasing, yet many Python wheels are still not available for this platform.
- GitHub Actions now offer native CI runners for Windows on ARM devices (windows-11-arm), enabling automated builds and testing.
- Currently, official OpenCV Python wheels are not provided for Windows ARM64 and thus users/developers were facing difficulties using popular OpenCV library natively.
- This PR introduces support for building OpenCV wheels on Windows ARM64, improving accessibility for developers and end users on this emerging platform.
- Closes: https://github.com/opencv/opencv-python/issues/1092, https://github.com/opencv/opencv-python/issues/806
Changes Proposed:
- Added CI workflow for building and testing OpenCV wheels on new Windows on ARM github runners
- Added platform markers to use stable available NumPy for Windows on ARM builds.
- Added Windows on ARM specific condition logic to use NEON as baseline and dispatch unit, since MSVC lacks support for NEON_FP16, NEON_BF16 and NEON_DOTPROD intrinsics.