Repository navigation
Build Windows ARM64 wheels and preserve MSVC Release optimization - #111
johnnynunez wants to merge 2 commits into
Conversation
Use the same cibuildwheel identifiers as win_amd64. The first build is reused, so the ARM64 wheel was tagged cp312-abi3 and could not be installed on CPython 3.11. Test on 3.11 as well; NumPy publishes no Windows ARM64 wheels for 3.9/3.10, so the trimesh/numpy tests cannot run there.
|
Updated: the Full The failing |
Summary
wheel.ymlto Windows ARM64 onwindows-11-arm, using the same cibuildwheel identifiers aswin_amd64(cp39–cp313). The ctypes-only wheel is abi3, so it is built once and taggedcp39-abi3-win_arm64, like the AMD64 wheel.run_tests.pyon ARM64 with CPython 3.11, 3.12 and 3.13. 3.9 and 3.10 are not tested on ARM64 because NumPy, which the tests need, has no Windows ARM64 wheels for them.delvewheel --analyze-existingso the ARM64 OpenMP runtime (vcomp140.dll) needed bylib_coacd.dllis bundled. The default scan only looks at extension modules.iostreams,systemand their dependencies). This skips unrelated libraries such as Boost.Context and its ARM assembler setup./O2 /Ob2 /DNDEBUG) or user overrides instead of replacing them with-O3, which MSVC ignores. Before this change, the Release compile lines had no/O2. Non-MSVC flags are unchanged.tests/test_cmake_release.py(configure-only) checks the default flags and that an explicitCMAKE_CXX_FLAGS_RELEASEis kept. It runs in the Windows CI jobs.This builds on the merged ARM64/ARM64EC source guards in #102. OpenVDB, oneTBB and OpenMP remain enabled.
CI
Full
wheel.ymlrun in the fork, all jobs passing: https://github.com/johnnynunez/CoACD/actions/runs/38311106525Ran 6 tests ... OK (skipped=1)on 3.11, 3.12 and 3.13. The skip is an existing upstream one.coacd-1.0.14-cp39-abi3-win_arm64.whl:lib_coacd.dlland the bundledvcomp140DLL are PE Machine0xAA64, and the RECORD hashes check out.wheel.ymlruns on pushes tomainor on manual dispatch, not on pull requests, so this PR's checks don't include it.