Update INSTALL.md

It seems that building with ocaml < 5.0.0 will not work due to  `UChar.utf_decode_length` not being available in the stdlib prior to that version
This commit is contained in:
Romain Primet 2023-03-28 15:29:05 +02:00 committed by GitHub
parent 44d8c32b9f
commit 03366d47c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,13 +54,13 @@ OCaml's distribution and package manager. Follow the [instructions on the `opam`
website](https://opam.ocaml.org/doc/Install.html).
Next, you will need to use the correct version of OCaml. Catala has been tested
with OCaml compiler versions that are at least 4.13.0. To switch to OCaml 4.13.0.,
with OCaml compiler versions that are at least 5.0.0. To switch to OCaml 5.0.0,
just use:
opam switch 4.13.0
opam switch 5.0.0
If you get a `No switch 4.13.0 is currently installed` error message, follow
the hint and enter `opam switch create 4.13.0`.
If you get a `No switch 5.0.0 is currently installed` error message, follow
the hint and enter `opam switch create 5.0.0`.
## Dependencies