Skip to content

Commit

Permalink
Update dockerfile (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ailrun authored Sep 6, 2024
1 parent 6f9246f commit 7bd92e7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM coqorg/coq:8.17.1-ocaml-4.14.1-flambda
FROM coqorg/coq:8.20-ocaml-4.14-flambda

ENV NCPUS=4
ENV OPAMYES="true"
Expand Down
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,18 @@ implementation.

## Dependencies

* OCaml 4.14.1
* Menhir
* coq-menhirlib
* Coq 8.17.1
* Equations 1.3
* [OCaml](https://ocaml.org/) 4.14.2
* [Menhir](http://cambium.inria.fr/~fpottier/menhir/)
* [Coq-Menhirlib](https://gitlab.inria.fr/fpottier/menhir/-/tree/master/coq-menhirlib)
* [Coq](https://coq.inria.fr/) 8.20.0
* [Coq-Equations](https://github.com/mattam82/Coq-Equations) 1.3

We recommend to install dependencies in the following way:

```bash
opam switch create coq-8.17.1 4.14.1
opam switch create coq-8.20.0 4.14.2
opam install menhir
opam pin add coq 8.17.1
opam pin add coq 8.20.0
opam repo add coq-released https://coq.inria.fr/opam/released
opam install coq-equations
opam install coq-menhirlib
Expand All @@ -71,7 +71,9 @@ Before anything, the Coq parser must be extracted to OCaml code. Then, you can r

You can build changes to the Coq parser with the following commands:
```
make gen_parser
cd theories
make -j16 # or the number of your cpus
cd ..
dune build
```

Expand Down

0 comments on commit 7bd92e7

Please sign in to comment.