Repository navigation
Build the macOS natives on macos-15 - #214
pietrygamat wants to merge 1 commit into
Conversation
The macos-14 runner image retires on November 2, 2026, and its brownouts already cancel the macOS jobs. Move them to macos-15, which is arm64 too and still sets XCODE_16_DEVELOPER_DIR. macos-15 defaults to Xcode 16.4, whose xcrun shims (/usr/bin/make, /usr/bin/c++) read SDKROOT and cannot resolve MacOSX10.9.sdk, so CMake fails to configure. The workflows now export only CMAKE_OSX_SYSROOT, which ant/build.xml passes to CMake as -DCMAKE_OSX_SYSROOT, and the shims keep the default SDK. This does not change the compatibility of the natives: they are still built against the same MacOSX10.9.sdk and MacOSX11.0.sdk with the same MACOSX_DEPLOYMENT_TARGET values.
|
Thanks. I assume you've already ruled out keeping the old method, but can you help me understand what's going on? I'm having a hard time understanding based on the code and PR description and the cmake docs still claim that the old environment variable is valid. https://cmake.org/cmake/help/latest/variable/CMAKE_OSX_SYSROOT.html |
After simply updating the runner the build failed with this: CMake used to set The problem as I understand it - is that the newer xcode 16.4 also uses the And that's before the cmake configuration even starts. When given |
The
macos-14runner image retires on November 2, 2026, and its brownouts already cancel the macOS jobs. This moves them tomacos-15, which is arm64 too and still setsXCODE_16_DEVELOPER_DIR.macos-15defaults to Xcode 16.4, whose xcrun shims (/usr/bin/make,/usr/bin/c++) readSDKROOTand cannot resolveMacOSX10.9.sdk, so CMake fails to configure. The workflows now export onlyCMAKE_OSX_SYSROOT, whichant/build.xmlpasses to CMake as-DCMAKE_OSX_SYSROOT, and the shims keep the default SDK.This does not change the compatibility of the natives: they are still built against the same
MacOSX10.9.sdkandMacOSX11.0.sdkwith the sameMACOSX_DEPLOYMENT_TARGETvalues.