@@ -22,32 +22,25 @@ These commands should work for Ubuntu 22.04+:
22
22
23
23
```
24
24
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 \
27
27
pkg-config m4 zlib1g-dev libgmp-dev bubblewrap -y
28
28
29
- # Run with sudo if you wish to install globally
30
- bash -c "sh <(curl -fsSL https://opam.ocaml.org/install.sh)"
31
29
opam init --bare
32
30
33
31
git clone https://github.com/static-analysis-engineering/codehawk.git
34
32
cd codehawk/CodeHawk
35
- opam switch create . 5.2.0 && eval $(opam env)
33
+ opam switch create . 5.2.0
34
+ eval $(opam env)
36
35
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 `
44
36
45
- These targets can be combined, e.g. ` dune build CHB CHC ` .
37
+ dune build @install
38
+ ```
46
39
47
40
The Makefiles in the repository are to help CodeHawk's developers
48
41
debug circular module dependencies, they are not intended for users.
49
42
50
43
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