Skip to content

Commit

Permalink
Update README for OCaml 5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
talex5 committed Dec 16, 2022
1 parent ccb1373 commit d7c04c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
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 7682a310ca21fc2de92c7fb88672b48d15e03166 && opam update
# Switch to OCaml 5.0.0 (beta)
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 @@ -96,17 +96,17 @@ See [Awesome Multicore OCaml][] for links to work migrating other projects to Ei

## Getting OCaml 5.0

You'll need OCaml 5.0.0~rc1.
You'll need OCaml 5.0.0 or later.
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~rc1:
2. Use opam to install OCaml 5.0.0:

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

## Getting Eio
Expand Down

0 comments on commit d7c04c9

Please sign in to comment.