Skip to content

Commit ca7bed7

Browse files
authored
Update RefinedVST.md
1 parent 4e43094 commit ca7bed7

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

RefinedVST.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# RefinedVST
2-
The refinedVST project is adapted from [RefinedC](https://gitlab.mpi-sws.org/iris/refinedc/-/commits/ea6be6de7f27855a79c9ca18e6a54ba3bd5ed883).
2+
The refinedVST project is adapted from [RefinedC](https://gitlab.mpi-sws.org/iris/refinedc).
33

44
This is still work in progress.
55

66
## Build Instruction
7-
We will need VST, RefinedC (and for now, compcert (3.13 or 3.14) to generate the frontend). We assume the dependency of VST is installed and an opam switch is set up.
7+
We will need VST, Cerberus, and CompCert 3.15 to generate the frontend. We assume the dependency of VST is installed and an opam switch is set up.
88

99
TODO fix VST build instruction
1010

@@ -14,14 +14,11 @@ The interface of the backend of RefinedVST is refinedVST/typing/typing.v:
1414
make refinedVST/typing/typing.vo -j <jobs>
1515
```
1616

17-
### RefinedC
18-
RefinedC: VST is pinned to a slightly older version of Iris (dev.2024-03-12.0.c1e15cdc), and consequently a slightly older version of [RefinedC dev.2024-07-23.0.ea6be6de](https://gitlab.mpi-sws.org/iris/refinedc/-/tree/ea6be6de7f27855a79c9ca18e6a54ba3bd5ed883).
19-
I failed to pin RefinedC's gitlab repository, but installing it from source works:
17+
### Cerberus
18+
You can either install Cerberus by installing [RefinedC](https://gitlab.mpi-sws.org/iris/refinedc), or by following the Cerberus-specific lines of RefinedC's installation instructions, namely:
2019
```
21-
git clone https://gitlab.mpi-sws.org/iris/refinedc.git refinedc
22-
cd refinedc
23-
git branch pin_refinedc ea6be6de
24-
opam pin add refinedc . -y
20+
opam pin add -n -y cerberus-lib "git+https://github.com/rems-project/cerberus.git#57c0e80af140651aad72e3514133229425aeb102"
21+
opam pin add -n -y cerberus "git+https://github.com/rems-project/cerberus.git#57c0e80af140651aad72e3514133229425aeb102"
2522
```
2623

2724
## Running the frontend
@@ -36,4 +33,4 @@ However the best way to use the frontend is to use the script [RefinedVST.sh](Re
3633
To delete generated files:
3734
```
3835
make clean-refinedVST-frontend
39-
```
36+
```

0 commit comments

Comments
 (0)