setup-ocaml icon indicating copy to clipboard operation
setup-ocaml copied to clipboard

Use a custom OCaml compiler (on Windows 😉)

Open MisterDA opened this issue 1 year ago • 2 comments

Is it possible to use a custom OCaml compiler with ocaml-setup? I'd like to point to a specific repo, branch, commit, of the compiler for testing. I'd like it to work on Windows, too. If this feature is already supported, what's the syntax?

MisterDA avatar Sep 12 '24 19:09 MisterDA

Is it possible to use it by specifying the exact package name(s)? https://github.com/ocaml/setup-ocaml?tab=readme-ov-file#supported-version-syntax

smorimoto avatar Oct 04 '24 12:10 smorimoto

Actually installing specific unreleased compilers seems like a lot of work, but it doesn't seem impossible. That said, most users don't need it, so I'm not sure I should implement it 🤷‍♂️

smorimoto avatar Jan 16 '25 21:01 smorimoto