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

out-of-date sail ocaml version in read-the-docs #104

Open
dansmathers opened this issue Dec 7, 2023 · 1 comment
Open

out-of-date sail ocaml version in read-the-docs #104

dansmathers opened this issue Dec 7, 2023 · 1 comment

Comments

@dansmathers
Copy link

Hi,
https://riscof.readthedocs.io/en/stable/installation.html#install-plugin-models says
opam switch create ocaml-base-compiler.4.06.1

https://github.com/rems-project/sail/blob/sail2/INSTALL.md says:

Use ocaml -version to check your OCaml version. If you have OCaml 4.08.1 or newer, that's fine, otherwise you can use opam switch to install a newer version:

opam switch create 5.1.0

Can you update the readthedocs directions to use the newer OCaml version? Otherwise my generation of the SAIL model has errors.
thanks

@shareefj
Copy link
Contributor

shareefj commented Feb 7, 2024

I've just run into the same issue. When compiling sail-riscv I get:

Syntax error:
[model/riscv_sys_regs.sail]:182:25-25
182 |    else [m with F = v[F], D = v[D] & v[F]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants