mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-04 14:20:58 +00:00
The ARM64 jobs pinned CMake 3.31 because CMake 4 dropped pre-3.5 policy compatibility and its ARMASM support broke Boost.Context. Both are handled now. deps/CMakeLists.txt sets CMAKE_POLICY_VERSION_MINIMUM on CMake 4, and Boost.Context uses the winfib implementation on ARM64, so nothing assembles with armasm. CMake 3.31 also predates VS 2026. Its InstallRequiredSystemLibraries treats the v145 toolset as v143, searches only the VS 2017-2022 install directories and finds no runtime, so the ARM64 installer ships without msvcp140.dll and vcruntime140.dll. CMake 4.2 and newer find the VC145 redistributable. get-cmake also installs Ninja, so the ARM64 jobs now use its latest release instead of the one already on the runner, as x64 does. The install now fails when InstallRequiredSystemLibraries returns no msvcp140.dll or vcruntime140.dll, after a configure warning naming the CMake and MSVC versions. A CMake that predates the Visual Studio in use, on a developer machine or after the next runner image update, then stops the installer build instead of shipping one that cannot start. The build_win.bat prerequisite installer drops its matching 3.31.8 pin.