opam-version: "2.0"
name: "goblint"
version: "dev"
synopsis: "Static analysis framework for C"
maintainer: [
  "Simmo Saan <simmo.saan@gmail.com>"
  "Michael Schwarz <michael.schwarz93@gmail.com>"
  "Karoliine Holter <karoliine.holter@ut.ee>"
]
authors: [
  "Simmo Saan"
  "Michael Schwarz"
  "Julian Erhard"
  "Sarah Tilscher"
  "Karoliine Holter"
  "Michael Petter"
  "Ali Rasim Kocal"
  "Ralf Vogler"
  "Kalmer Apinis"
  "Vesal Vojdani"
]
license: "MIT"
homepage: "https://goblint.in.tum.de"
doc: "https://goblint.readthedocs.io/en/latest/"
bug-reports: "https://github.com/goblint/analyzer/issues"
depends: [
  "angstrom" {= "0.16.0"}
  "apron" {= "v0.9.15"}
  "arg-complete" {= "0.2.1"}
  "astring" {= "0.8.5"}
  "base-bigarray" {= "base"}
  "base-bytes" {= "base" & with-dev-setup}
  "base-threads" {= "base"}
  "base-unix" {= "base"}
  "batteries" {= "3.11.0"}
  "benchmark" {= "1.6" & with-test}
  "bigarray-compat" {= "1.1.0"}
  "bigstringaf" {= "0.9.1"}
  "bos" {= "0.2.1"}
  "camlidl" {= "1.13"}
  "camlp-streams" {= "5.0.1"}
  "catapult" {= "0.2"}
  "catapult-file" {= "0.2"}
  "chrome-trace" {= "3.21.1" & with-dev-setup}
  "cmdliner" {= "1.3.0" & (with-doc | with-dev-setup)}
  "conf-autoconf" {= "0.2"}
  "conf-findutils" {= "1"}
  "conf-gcc" {= "1.0"}
  "conf-gmp" {= "5"}
  "conf-gmp-paths" {= "1"}
  "conf-mpfr-paths" {= "1"}
  "conf-perl" {= "2"}
  "conf-pkg-config" {= "4"}
  "conf-ruby" {= "1.0.0" & with-test}
  "cppo" {= "1.6.9"}
  "cpu" {= "2.0.0"}
  "crunch" {= "4.0.0" & with-doc}
  "csexp" {= "1.5.2"}
  "cstruct" {= "6.2.0"}
  "ctypes" {= "0.22.0"}
  "domain-local-await" {= "1.0.1"}
  "domain_shims" {= "0.1.0"}
  "dune" {= "3.21.1"}
  "dune-build-info" {= "3.21.1"}
  "dune-configurator" {= "3.21.1"}
  "dune-private-libs" {= "3.21.1"}
  "dune-rpc" {= "3.21.1" & with-dev-setup}
  "dune-site" {= "3.21.1"}
  "dyn" {= "3.21.1"}
  "ez-conf-lib" {= "2"}
  "fiber" {= "3.7.0" & with-dev-setup}
  "fileutils" {= "0.6.4"}
  "fmt" {= "0.9.0"}
  "fpath" {= "0.7.3"}
  "fs-io" {= "3.21.1"}
  "goblint-cil" {= "2.1.0"}
  "hex" {= "1.5.0"}
  "integers" {= "0.7.0"}
  "json-data-encoding" {= "1.0.1"}
  "jsonrpc" {= "1.17.0"}
  "logs" {= "0.7.0"}
  "merlin-lib" {= "4.16-414" & with-dev-setup}
  "mlgmpidl" {= "1.3.0"}
  "num" {= "1.5"}
  "ocaml" {= "4.14.2"}
  "ocaml-compiler-libs" {= "v0.12.4"}
  "ocaml-config" {= "2"}
  "ocaml-lsp-server" {= "1.17.0" & with-dev-setup}
  "ocaml-option-flambda" {= "1"}
  "ocaml-syntax-shims" {= "1.0.0"}
  "ocaml-variants" {= "4.14.2+options"}
  "ocamlbuild" {= "0.14.3"}
  "ocamlc-loc" {= "3.21.1" & with-dev-setup}
  "ocamlfind" {= "1.9.8"}
  "ocamlformat-rpc-lib" {= "0.29.0" & with-dev-setup}
  "ocp-indent" {= "1.8.1" & with-dev-setup}
  "odoc" {= "3.0.0" & with-doc}
  "odoc-parser" {= "3.0.0" & with-doc}
  "ordering" {= "3.21.1"}
  "ounit2" {= "2.2.7" & with-test}
  "patricia-tree" {= "0.14.0"}
  "pp" {= "2.0.0"}
  "ppx_blob" {= "0.9.0"}
  "ppx_derivers" {= "1.2.1"}
  "ppx_deriving" {= "6.0.2"}
  "ppx_deriving_hash" {= "0.1.2"}
  "ppx_deriving_yojson" {= "3.8.0"}
  "ppx_yojson_conv_lib" {= "v0.16.0" & with-dev-setup}
  "ppxlib" {= "0.35.0"}
  "ptime" {= "1.2.0" & with-doc}
  "qcheck-core" {= "0.91"}
  "qcheck-ounit" {= "0.91" & with-test}
  "re" {= "1.11.0" & with-doc}
  "result" {= "1.5" & with-doc}
  "rresult" {= "0.7.0"}
  "seq" {= "base"}
  "sexplib0" {= "v0.16.0"}
  "sha" {= "1.15.4"}
  "spawn" {= "v0.17.0" & with-dev-setup}
  "stdlib-shims" {= "0.3.0"}
  "stdune" {= "3.21.1"}
  "stringext" {= "1.6.0"}
  "thread-table" {= "1.0.0"}
  "top-closure" {= "3.21.1"}
  "topkg" {= "1.0.8"}
  "tyxml" {= "4.6.0" & with-doc}
  "uri" {= "4.4.0"}
  "uuidm" {= "0.9.8"}
  "uutf" {= "1.0.3" & with-doc}
  "xdg" {= "3.21.1" & with-dev-setup}
  "yaml" {= "3.2.0"}
  "yojson" {= "2.2.1"}
  "zarith" {= "1.14"}
]
build: [
  ["dune" "subst"] {dev}
  [
    "dune"
    "build"
    "-p"
    name
    "-j"
    jobs
    "--promote-install-files=false"
    "@install"
    "@runtest" {with-test}
    "@doc" {with-doc}
  ]
  ["dune" "install" "-p" name "--create-install-files" name]
]
dev-repo: "git+https://github.com/goblint/analyzer.git"
available: os-family != "bsd" & os-distribution != "alpine" & (arch != "arm64" | os = "macos")
conflicts: [
  "dune" {>= "3.22.0"}
  "result" {< "1.5"}
  "apron" {< "v0.9.15"}
  "camlidl" {< "1.13"}
  "ez-conf-lib" {= "1"}
  "mlgmpidl" {< "1.3.0"}
]
post-messages: [
  "Do not benchmark Goblint on OCaml 5 (https://goblint.readthedocs.io/en/latest/user-guide/benchmarking/)." {ocaml:version >= "5.0.0"}
]
pin-depends: [
  [
    "goblint-cil.2.1.0"
    "git+https://github.com/goblint/cil.git#f2f244ec2ebb73536a15eb7488af10122c16907e"
  ]
  [
    "batteries.3.11.0"
    "git+https://github.com/sim642/batteries-included.git#3920bdf614e4a12120fabfa2c97ee913cc246b13"
  ]
  [
    "apron.v0.9.15"
    "git+https://github.com/antoinemine/apron.git#418a217c7a70dae3f422678f3aaba38ae374d91a"
  ]
]
depexts: ["libgraph-easy-perl"] {os-distribution = "ubuntu" & with-test}
description: """\
Goblint is a sound static analysis framework for C programs using abstract interpretation.
It specializes in thread-modular verification of multi-threaded programs, especially regarding data races.
Goblint includes analyses for assertions, overflows, deadlocks, etc and can be extended with new analyses."""
tags: [
  "program analysis"
  "program verification"
  "static analysis"
  "abstract interpretation"
  "C"
  "data race analysis"
  "concurrency"
]
