chore: update CI to OCaml 5.5 - #15446
Open
Alizter wants to merge 1 commit into
Open
Conversation
Alizter
force-pushed
the
push-lmmktyrynlor
branch
from
July 8, 2026 20:28
9b647e7 to
5ece035
Compare
Alizter
force-pushed
the
push-lmmktyrynlor
branch
2 times, most recently
from
July 8, 2026 21:28
644cdb9 to
64d8a43
Compare
Collaborator
Author
|
Current CI failure checklist:
|
Alizter
marked this pull request as draft
July 9, 2026 11:56
Alizter
force-pushed
the
push-lmmktyrynlor
branch
2 times, most recently
from
July 24, 2026 17:44
3288b9a to
d17d4bb
Compare
Alizter
marked this pull request as ready for review
July 24, 2026 17:54
Update the opam and benchmark CI matrices, local development switch, documentation, Nix shell, and Melange inputs to OCaml 5.5. Use nixpkgs ppxlib 0.38.0 in the Nix package set so its stdlib-shims dependency graph matches opam. Adapt tests for OCaml 5.5 relocatable compiler paths and findlib relative ld.conf entries. Signed-off-by: Ali Caglayan <alizter@gmail.com>
Alizter
force-pushed
the
push-lmmktyrynlor
branch
from
July 27, 2026 09:49
d17d4bb to
239a249
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Update the OCaml version used by CI and development tooling from 5.4 to 5.5.
This updates the opam CI matrix, benchmark workflow, local development switch,
tutorial, and Nix development shell. The flake inputs are refreshed for the
matching Melange 5.5 stack and include the MinGW OCaml 5.5 fixes needed by the
static Windows package set.
Package-set consistency
nix-overlaysselects a post-0.38.0 ppxlib commit that no longer depends onstdlib-shims, while opam installs the official ppxlib 0.38.0 release thatstill declares this dependency. This made
dune describereport differentdependency graphs in the two CI environments.
The Nix package set now uses nixpkgs ppxlib 0.38.0 release source, matching
opam and keeping the
stdlib-shimsdependency graph consistent across packagemanagers.
OCaml 5.5 test compatibility
OCaml 5.5 relocatable compiler lookup fails in tests that construct a restricted
PATHfrom symlinked compiler tools. Those tests now capture the real standardlibrary directory in
OCAMLLIBbefore replacingPATH.Findlib 1.9.8 also warns about the relative stub-library entries in OCaml 5.5
ld.conf. Tests that invoke findlib without exercising stub lookup setOCAMLFIND_LDCONF=ignore, preventing those unrelated warnings from changingcram output.
Related Issue and Motivation
The OCaml 5 release tested by CI and used by local development should track the
current release.
Fixes #15445
Validation
./dune.exe build @check @fmt @runtestgit diff --checkChecklist