Skip to content

Bump CMAKE_OSX_DEPLOYMENT_TARGET from 10.15 to 11.0 - #9129

Merged
kripken merged 2 commits into
WebAssembly:mainfrom
Kara-Zor-El:Kara-Zor-El/macOS27-fix
Sep 22, 2026
Merged

kripken merged 2 commits into
WebAssembly:mainfrom
Kara-Zor-El:Kara-Zor-El/macOS27-fix

Conversation

@Kara-Zor-El

Copy link
Copy Markdown
Contributor

macOS 27 / Xcode 27 changed the minimum required CMAKE_OSX_DEPLOYMENT_TARGET from 10.15 to 11.0. In order to properly build on macOS 27, it is therefore needed to bump the minimum version.
image
image

@Kara-Zor-El
Kara-Zor-El requested a review from a team as a code owner September 21, 2026 16:53
@Kara-Zor-El
Kara-Zor-El requested review from stevenfontanella and removed request for a team September 21, 2026 16:53

@spotandjake spotandjake left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this considered breaking? from my understanding this would drop support for some older versions of macos/xcode.

@Kara-Zor-El

Copy link
Copy Markdown
Contributor Author

It would drop OSX >=10.15 <11.0 so yes

@kripken

kripken commented Sep 22, 2026

Copy link
Copy Markdown
Member

@sbc100 do you perhaps know if this would break any of our builders?

@sbc100

sbc100 commented Sep 22, 2026

Copy link
Copy Markdown
Member

In emscripten-releases we already pass '-DCMAKE_OSX_DEPLOYMENT_TARGET=11' on the command line so it from be fine from that perspective.

We do that same in emsdk.py: https://github.com/emscripten-core/emsdk/blob/a2b92777574c2feda07994cd4f1079a3dfc151f8/emsdk.py#L995

In wabt we still support 10.14, but I suppose to we can update that too: https://github.com/WebAssembly/wabt/blob/02418f72a70466b45805891843f114c7f602eb34/CMakeLists.txt#L27-L30

@sbc100

sbc100 commented Sep 22, 2026

Copy link
Copy Markdown
Member

Please update the PR title to something like "Bump CMAKE_OSX_DEPLOYMENT_TARGET from 10.5 to 11.0". You can then describe the reason in more detail in the PR description

Comment thread CMakeLists.txt Outdated
@Kara-Zor-El Kara-Zor-El changed the title Change minimum CMAKE_OSX_DEPLOYMENT_TARGET version to support macos 27 Bump CMAKE_OSX_DEPLOYMENT_TARGET from 10.15 to 11.0 Sep 22, 2026
@stevenfontanella
stevenfontanella removed their request for review September 22, 2026 20:31
@kripken
kripken merged commit 8c70866 into WebAssembly:main Sep 22, 2026
15 of 16 checks passed
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.

4 participants