Skip to content

feat!: Update cmake to 4.1.2#2

Merged
ospencer merged 8907 commits into
grain-lang:masterfrom
spotandjake:spotandjake-412
Oct 22, 2025
Merged

feat!: Update cmake to 4.1.2#2
ospencer merged 8907 commits into
grain-lang:masterfrom
spotandjake:spotandjake-412

Conversation

@spotandjake
Copy link
Copy Markdown
Member

@spotandjake spotandjake commented Oct 21, 2025

I don't think the diff is very helpful for a code review on this pr it's probably better to check my changes here Kitware/CMake@master...spotandjake:CMake:master

I reforked cmake from the latest release 4.1.2 and applied the same changes that make this patch for 3.27.4 work. The advantage of this is better compatbility with newer toolchains such as the latest version of clang.

This seems like a better way of fixing the clang 17 issues we fixed in #1

We don't really have tests setup for this repo so I added a basic test to build with esy and verified that our upstream libbinaryen builds here: https://github.com/spotandjake/libbinaryen/actions/runs/18693766744/job/53305778962

I'm not entirely sure what the best way to merge this is, ideally we would just force ignore the conflicts here as they have different roots.

Loading
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.