Open dbuenzli opened 5 months ago
Not sure exactly who's responsible for opam compiler packages so I tentatively cc @Octachron and @dra27.
Suggests that I really should move on getting the precise value in https://github.com/dra27/opam-repository/commit/7813e70e155ac3a9c11927ab40b620d7741117d4 sorted out and upstreamed 🙂
@dra27 do you have an ETA on that one ? I should likely do an omod
and down
release and I would have liked to stop installing stuff in OCaml's library directory.
Sorry for the slowness, I've at least updated ocaml.5.3.0 to support it (would you be able to test that with omod and down versions which do install to %{toplevel}%
instead?). Updating the older ocaml packages triggers mass switch rebuilds, but the time to do that might be at a point where that's going to be happening anyway (e.g. the next Dune release, which I imagine won't be too far away). There's then the matter of updating the ocamlfind package to stop installing the ocaml shim both because it doesn't work on Windows and because with that change it becomes unnecessary to have it at all (finally).
I was trying to change
omod
anddown
to stop poopingomod.top
anddown.top
intoocaml
's library directory and leave it for$(opam var lib)/toplevel
to handle it.This should be possible since OCaml 4.08.0 when https://github.com/ocaml/ocaml/issues/7808 was resolved by @nojb's https://github.com/ocaml/ocaml/pull/1841.
Unfortunately the compilers packages set the
OCAML_TOPLEVEL_PATH
instead ofOCAMLTOP_INCLUDE_PATH
so that doesn't work.Not sure exactly who's responsible for opam compiler packages so I tentatively cc @Octachron and @dra27.