Skip to content
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

Update README for OCaml 5.0.0~rc1 #384

Merged
merged 1 commit into from
Dec 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM ocaml/opam:debian-11-ocaml-5.0
# Make sure we're using opam-2.1:
RUN sudo ln -sf /usr/bin/opam-2.1 /usr/bin/opam
# Ensure opam-repository is up-to-date:
RUN cd opam-repository && git pull -q origin 2b82c83694d8f1db63e504823646ffcb51562f75 && opam update
RUN cd opam-repository && git pull -q origin 7682a310ca21fc2de92c7fb88672b48d15e03166 && opam update
# Switch to OCaml 5.0.0 (beta)
RUN opam pin remove ocaml-variants && opam install ocaml-base-compiler.5.0.0~beta2 --update-invariant
RUN opam pin remove -n ocaml-variants && opam install ocaml-base-compiler.5.0.0~rc1 --update-invariant
# Install utop for interactive use:
RUN opam install utop fmt
# Install Eio's dependencies (adding just the opam files first to help with caching):
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,17 +109,17 @@ Remember that you can always fall back to using Lwt libraries to provide missing

## Getting OCaml 5.0

You'll need OCaml 5.0.0~beta2.
You'll need OCaml 5.0.0~rc1.
You can either install it yourself or build the included [Dockerfile](./Dockerfile).

To install it yourself:

1. Make sure you have opam 2.1 or later (run `opam --version` to check).

2. Use opam to install OCaml 5.0.0~beta2:
2. Use opam to install OCaml 5.0.0~rc1:

```
opam switch create 5.0.0~beta2
opam switch create 5.0.0~rc1
```

## Getting Eio
Expand Down