Skip to content

Commit ac86eac

Browse files
committed
Add build instructions to README
1 parent f6cc4e7 commit ac86eac

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,23 @@ A framework for extracting Coq programs to Rust.
2222
- [Extracting functional programs from Coq, in Coq](https://arxiv.org/abs/2108.02995) doi:[10.1017/S0956796822000077](https://doi.org/10.1017/S0956796822000077)
2323
- ["Extending MetaCoq Erasure: Extraction to Rust and Elm"](https://dannenkov.me/papers/extraction-rust-elm-coq-workshop2021.pdf)
2424
- ["Extracting Smart Contracts Tested and Verified in Coq"](https://arxiv.org/abs/2012.09138) doi:[10.1145/3437992.3439934](https://doi.org/10.1145/3437992.3439934)
25+
26+
## Building and installation instructions
27+
28+
The easiest way to install the latest released version is via [OPAM](https://opam.ocaml.org/doc/Install.html):
29+
30+
```shell
31+
opam repo add coq-released https://coq.inria.fr/opam/released
32+
opam install coq-rust-extraction
33+
```
34+
35+
To instead build and install manually, do:
36+
37+
```shell
38+
opam repo add coq-released https://coq.inria.fr/opam/released
39+
git clone https://github.com/AU-COBRA/coq-rust-extraction.git
40+
cd coq-rust-extraction
41+
opam install . --deps-only
42+
make #or make -j <number-of-cores-on-your-machine>
43+
make install
44+
```

0 commit comments

Comments
 (0)