@@ -22,32 +22,25 @@ These commands should work for Ubuntu 22.04+:
2222
2323```
2424sudo 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)"
3129opam init --bare
3230
3331git clone https://github.com/static-analysis-engineering/codehawk.git
3432cd codehawk/CodeHawk
35- opam switch create . 5.2.0 && eval $(opam env)
33+ opam switch create . 5.2.0
34+ eval $(opam env)
3635opam 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
4740The Makefiles in the repository are to help CodeHawk's developers
4841debug circular module dependencies, they are not intended for users.
4942
5043Dependencies 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