Skip to content

chore(compiler): Update OCaml to 4.14 & update dependencies#1547

Merged
phated merged 7 commits intomainfrom
phated/ocaml-4.14
Dec 14, 2022
Merged

chore(compiler): Update OCaml to 4.14 & update dependencies#1547
phated merged 7 commits intomainfrom
phated/ocaml-4.14

Conversation

@phated
Copy link
Copy Markdown
Member

@phated phated commented Dec 13, 2022

This updates the compiler to use OCaml 4.14 - this required forking https://github.com/esy-ocaml/ocaml and updating flexdll to 0.42 which supports the -l: linker flag—submitted upstream as esy-ocaml/ocaml#63. We needed this because OCaml 4.12.1+ made changes related to MinGW and no longer supports passing the -static flag.

I also updated dependencies while I was making changes to the OCaml stuff.

This also fixes the issue with Grain failing to build on newer GCC because that was fixed in the upstream OCaml (we didn't have an issue).

I didn't port over @ospencer's cleanup from #1345 but we can rebase that one and just use it for the cleanup stuff.

@phated phated requested a review from a team December 13, 2022 23:00
@phated phated self-assigned this Dec 13, 2022
Copy link
Copy Markdown
Member

@ospencer ospencer left a comment

Choose a reason for hiding this comment

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

Truly excellent work; let's get this over the line!!

@phated phated merged commit 302206f into main Dec 14, 2022
@phated phated deleted the phated/ocaml-4.14 branch December 14, 2022 02:51
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