Skip to content

ocamlbuild compatibility with dune pkg and OxCaml #12736

@Sudha247

Description

@Sudha247

Desired Behavior

We can use ocamlbuild in a project with an OxCaml compiler and build with dune pkg

Example

Currently, there are two separate forks of ocamlbuild, one in the OxCaml opam-repository and one in dune opam overlays. The forks ensure they retain compatibility for their own use cases - for OxCaml, with the OxCaml compiler, and for the overlays that it works with dune pkg.

Right now, what happens is when you build an OxCaml project that requires ocamlbuild with dune pkg, the solver tries to use the dune version, but a lot of OxCaml packages, including the compiler, have a conflict with any ocamlbuild that's not 0.15.0+ox. However, dune pkg can't use it because it has symlinks (c.f. #9873).

It would be good to have a version of ocamlbuild that supports both OxCaml and dune pkg. This version should ideally be able to support both OxCaml projects built with dune pkg and OxCaml projects build with opam.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions