Repository navigation
OxCaml 5.4.0-ox9 by avsm - #1526
Conversation
cf3abb1 to
3434604
Compare
|
The OxCaml CI error is due to the mutually recursive type location fixed in PR #1527 (so this one should be merged after) |
Odoc no longer builds with the 5.2.0 OxCaml compilers. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
|
||
| (** Unboxed types have a trailing hash '#' *) | ||
|
|
||
| type pt = { x : int ; y : float32# } |
|
|
||
| module Aliased = T | ||
| (** The input module itself. It should contain everything from the top | ||
| level module *) |
There was a problem hiding this comment.
This is due to ocaml/ocaml#13185 (see also ocaml/ocaml#15047)
| (backend landmarks --auto)) | ||
| (instrumentation | ||
| (backend bisect_ppx)) | ||
| (libraries compiler-libs.common odoc-parser odoc_utils)) |
There was a problem hiding this comment.
And this change is required because oxcaml split a bunch of modules out of compiler-libs.common in oxcaml/oxcaml#6470. It's the Shape module that got moved, but because it's in ocamlfrontend in OxCaml and ocamlcommon in OCaml we can't directly point to the library we want here. So instead we're doing a little bit of a hack and pointing at optcomp, which in both OCaml and OxCaml pulls in the Shape module.
| | Class_type ctd -> ctd.ci_id_name.loc | ||
| #if defined OXCAML | ||
| | Jkind _ -> Location.none (* oxcaml: odoc ignores jkind declarations *) | ||
| | Jkind jd -> jd.jkind_loc |
There was a problem hiding this comment.
This bit isn't required here, and it's not yet useful AFAIK, but we might as well take it :-)
|
I think I've convinced myself that the non-loader changes are all required or good to have. The loader bits are just the usual oxcaml churn. |
odoc master dropped OxCaml 5.2.0 support when it gained ox9 support (ocaml/odoc#1526, 851fc1c). Solve and build with ocaml-variants.5.4.0+ox and pin oxcaml-compiler.5.4.0-ox9. Checked on sage with day11-solver-worker: base and core v0.18~preview.133.03+642, odoc and odoc-driver master solve on ox9 with the guard overlay. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This PR is an extract from #1520 by @avsm with only the commits required for the latest release of oxcaml ox9. Some minor changes: I've removed the backward compatibility check for the previous oxcaml 5.2.0 and switched the CI to ox9.