Skip to content

Commit affb898

Browse files
committed
Standardize on dune build @install
1 parent bec181d commit affb898

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

CodeHawk/README.md

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,32 +22,25 @@ These commands should work for Ubuntu 22.04+:
2222

2323
```
2424
sudo apt update -y
25-
sudo apt install --no-install-recommends software-properties-common \
26-
build-essential unzip \
25+
sudo apt install --no-install-recommends \
26+
build-essential opam unzip openjdk-21-jdk \
2727
pkg-config m4 zlib1g-dev libgmp-dev bubblewrap -y
2828
29-
# Run with sudo if you wish to install globally
30-
bash -c "sh <(curl -fsSL https://opam.ocaml.org/install.sh)"
3129
opam init --bare
3230
3331
git clone https://github.com/static-analysis-engineering/codehawk.git
3432
cd codehawk/CodeHawk
35-
opam switch create . 5.2.0 && eval $(opam env)
33+
opam switch create . 5.2.0
34+
eval $(opam env)
3635
opam install dune ocamlfind zarith camlzip extlib goblint-cil.2.0.6
37-
```
38-
39-
Depending on which analyzer you want to build:
40-
- **Binary:** `dune build CHB`
41-
- **C:** `dune build CHC`
42-
- **Java:** `dune build CHJ`
43-
- **all:** `dune build`
4436
45-
These targets can be combined, e.g. `dune build CHB CHC`.
37+
dune build @install
38+
```
4639

4740
The Makefiles in the repository are to help CodeHawk's developers
4841
debug circular module dependencies, they are not intended for users.
4942

5043
Dependencies for other OS flavors:
51-
- Arch Linux: `sudo pacman -Syu opam`
52-
- Fedora: `sudo yum install opam diffutils zlib-devel ocaml-lablgtk-devel -y`
53-
- macOS: `brew install opam`
44+
- Arch Linux [untested]: `sudo pacman -Syu opam`
45+
- Fedora [untested]: `sudo yum install opam diffutils zlib-devel -y`
46+
- macOS [untested]: `brew install opam`

0 commit comments

Comments
 (0)