-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
allow OCaml < 4.10 for fstar dev-repo #16684
allow OCaml < 4.10 for fstar dev-repo #16684
Conversation
Commit: a885467 @tahina-pro has posted 6 contributions. ☀️ All lint checks passed a885467
☀️ Installability check (+0) |
This won't quite work, unfortunately, as it'll fail if you pin the released version of fstar with 4.10. The solution to document for this is to commit the correct opam file into the f* repository, and then |
Sorry, I don't quite understand the first part of your comment. Could you please clarify? In fact, I do intend both the released version and |
@tahina-pro shouldn't be FStarLang/FStar#1792 fixed first? I think ulex was abandoned and will not work with newer (>=4.10) OCaml. |
Oh, sorry, I misread. |
Right; this is what you need to do to support the master branch of F*:
That's all. The This way, you don't need to backpatch existing fstar metadata versions. When the new fstar is ready to release, |
Anil's suggestion indeed does the trick, so this pull request is no longer needed and can be safely closed. Many thanks. |
Thanks! |
Requested by @catalin-hritcu
The current opam packages for F* do not allow OCaml >= 4.08. However, the latest F*
master
does compile with OCaml < 4.10.Thus, this pull request is meant to make
opam pin fstar --dev-repo
work for OCaml < 4.10, as documented at https://github.com/FStarLang/FStar/blob/3025f90e008f5793e3755ab115aecb4c17ab3714/INSTALL.md#opam-package