package goblint
Build not checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=999272bfbd3b9b96fcd58987b237ac6e9fa6d92ef935cc89f1ea2b4205185141
sha512=f3bf6ab71cf8c258d3290da4bf9f6fe42d7c671822e0efeb0fc50afdff078ab15e352237e5c1db31c5aa3a9d430691268ed2e5e00da10f2615835f672f91683d
Description
Added to opam-repository:
README
Goblint
Documentation can be browsed on Read the Docs or GitHub.
Installing
Both for using an up-to-date version of Goblint or developing it, the best way is to install from source by cloning this repository.
The goblint package on opam is very outdated and should currently not be used.
Linux
- Install opam.
- Make sure the following are installed:
git patch m4 autoconf libgmp-dev libmpfr-dev. - Run
make setupto install OCaml and dependencies via opam. - Run
maketo build Goblint itself. - Run
make installto install Goblint into the opam switch for usage via switch'sPATH.
MacOS
- Install GCC with
brew install gcc(first runxcode-select --installif you don't want to build it from source). Goblint requires GCC while macOS's defaultcppis Clang, which will not work. - Continue using Linux instructions.
Windows
- Install WSL.
- Continue using Linux instructions in WSL.
Other
- devcontainer. Select "Reopen in Container" in VS Code and continue with
makeusing Linux instructions in devcontainer. - Docker (GitHub Container Registry). Run
docker pull ghcr.io/goblint/analyzer:latest(or:nightly). - Docker (repository). Clone and run
docker build -t goblint .. - Vagrant. Clone and run
vagrant up && vagrant ssh. - opam (very outdated). Run
opam install goblint.
Running
To confirm that building worked, you can try running Goblint as follows:
./goblint tests/regression/04-mutex/01-simple_rc.cTo confirm that installation into the opam switch worked, you can try running Goblint as follows:
goblint tests/regression/04-mutex/01-simple_rc.cTo confirm that the Docker container worked, you can try running Goblint as follows:
docker run -it --rm -v $(pwd):/data goblint /data/tests/regression/04-mutex/01-simple_rc.cIf pulled from GitHub Container Registry, use the container name ghcr.io/goblint/analyzer:latest (or :nightly) instead.
For further information, see documentation.
Dependencies (14)
- conf-gcc
-
conf-gmp
>= "3" -
sha
>= "1.12" - dune-site
-
ocaml-monadic
>= "0.5" - ppx_deriving_yojson
- ppx_deriving
-
ppx_distr_guards
>= "0.2" - qcheck-core
-
zarith
>= "1.8" -
batteries
>= "3.2.0" & < "3.4.0" -
goblint-cil
>= "1.8.2" & < "2.0.0" -
dune
>= "2.9.1" -
ocaml
>= "4.09" & < "5.5"
Used by
None
Conflicts (1)
-
apron
>= "v0.9.15"
Build status
Results of building goblint with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
This version is not in the latest run; the versions below are.
| Version | OCaml 4.11 | OCaml 4.14 | OCaml 5.2 | OCaml 5.4 | OCaml 5.5 |
|---|---|---|---|---|---|
| 2.8.0 | n/a | good | good | good | good |
| 2.3.0 | good | good | good | good | n/a |
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure