Skip to content

Conversation

@sbc100
Copy link
Member

@sbc100 sbc100 commented Sep 15, 2025

This seems to have started happening in on the macos-latest CI machine. Seems better to check for empty string since apparently that is what it gets set to in cmake 4.0:

https://cmake.org/cmake/help/latest/variable/CMAKE_OSX_SYSROOT.html:

"Changed in version 4.0: The default is now empty. Previously a default was computed based on the CMAKE_OSX_DEPLOYMENT_TARGET or the host platform."

It looks like there is another issue that is causing some tests to fail on macos-latest (sigaltstack: Invalid argument) but I proposal that we fix that in a separate PR.

This seems to have started happening in on the macos-latest CI machine.
Seems better to check for empty string since apparently that is what it
gets set to in cmake 4.0:

https://cmake.org/cmake/help/latest/variable/CMAKE_OSX_SYSROOT.html:

"Changed in version 4.0: The default is now empty. Previously a default
was computed based on the CMAKE_OSX_DEPLOYMENT_TARGET or the host
platform."
@sbc100 sbc100 requested review from keithw and shravanrn September 15, 2025 16:38
@sbc100 sbc100 merged commit a2657f2 into main Sep 15, 2025
30 of 35 checks passed
@sbc100 sbc100 deleted the CMAKE_OSX_SYSROOT branch September 15, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants