-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to create a switch for from source compiled and built OCaml compiler? #3951
Comments
No need of extra tool, opam can handle it. There is a draft doc on how to handle unreleased/custom compilers, on ocaml/platform-blog#69 (readable version). Feel free to add a comment if it's not so clear!
Does your ocaml compiler directory contains opam files ? |
No, see output of
|
If it is already installed on your system, no need of local opam files, you'll just need to follow steps of cited draft blog post. |
Any news on this one ? |
Closing, fell free to reopen if this is still an issue |
I have built an Ocaml compiler 4.02.3+bucklescript-1 and opam master branch too. How do I make this compiler opam known now?
In the following you can see, that I have a working
opam 2.1.0~beta
and a workingocamlc 4.02.3+BS
. Now is the question, how to get these two components to work together?How do I teach opam to recognize and find the existing compiler?
The following excerpt from the installation instructions is rather unclear:
And exactly before this is where the creation of a linking of opam and an existing OCaml compiler instance should be mentioned and explained - with an example!
My first attempt with switch creates and given directory:
Opam didn't recognize the already in the given directory existing compiler and installed 4.08.1.
Do I need an extra tool to make a switch from an OCaml compiler?
The text was updated successfully, but these errors were encountered: