|  | 
|  | 1 | +opam-version: "2.0" | 
|  | 2 | +synopsis: "Static analysis framework for C" | 
|  | 3 | +description: """ | 
|  | 4 | +Goblint is a sound static analysis framework for C programs using abstract interpretation. | 
|  | 5 | +It specializes in thread-modular verification of multi-threaded programs, especially regarding data races. | 
|  | 6 | +Goblint includes analyses for assertions, overflows, deadlocks, etc and can be extended with new analyses. | 
|  | 7 | +""" | 
|  | 8 | +maintainer: [ | 
|  | 9 | + | 
|  | 10 | +  "Michael Schwarz <[email protected] >" | 
|  | 11 | +  "Karoliine Holter <[email protected] >" | 
|  | 12 | +] | 
|  | 13 | +authors: [ | 
|  | 14 | +  "Simmo Saan" | 
|  | 15 | +  "Michael Schwarz" | 
|  | 16 | +  "Julian Erhard" | 
|  | 17 | +  "Sarah Tilscher" | 
|  | 18 | +  "Karoliine Holter" | 
|  | 19 | +  "Ralf Vogler" | 
|  | 20 | +  "Kalmer Apinis" | 
|  | 21 | +  "Vesal Vojdani" | 
|  | 22 | +] | 
|  | 23 | +license: "MIT" | 
|  | 24 | +tags: [ | 
|  | 25 | +  "program analysis" | 
|  | 26 | +  "program verification" | 
|  | 27 | +  "static analysis" | 
|  | 28 | +  "abstract interpretation" | 
|  | 29 | +  "C" | 
|  | 30 | +  "data race analysis" | 
|  | 31 | +  "concurrency" | 
|  | 32 | +] | 
|  | 33 | +homepage: "https://goblint.in.tum.de" | 
|  | 34 | +doc: "https://goblint.readthedocs.io/en/latest/" | 
|  | 35 | +bug-reports: "https://github.com/goblint/analyzer/issues" | 
|  | 36 | +depends: [ | 
|  | 37 | +  "dune" {>= "3.13"} | 
|  | 38 | +  "ocaml" {>= "4.14"} | 
|  | 39 | +  "goblint-cil" {>= "2.0.7"} | 
|  | 40 | +  "batteries" {>= "3.9.0"} | 
|  | 41 | +  "zarith" {>= "1.10"} | 
|  | 42 | +  "yojson" {>= "2.0.0" & < "3"} | 
|  | 43 | +  "qcheck-core" {>= "0.19"} | 
|  | 44 | +  "ppx_deriving" {>= "6.0.2"} | 
|  | 45 | +  "ppx_deriving_hash" {>= "0.1.2"} | 
|  | 46 | +  "ppx_deriving_yojson" {>= "3.7.0"} | 
|  | 47 | +  "ppx_blob" {>= "0.8.0"} | 
|  | 48 | +  "ppxlib" {>= "0.30.0"} | 
|  | 49 | +  "ounit2" {with-test} | 
|  | 50 | +  "qcheck-ounit" {with-test} | 
|  | 51 | +  "odoc" {with-doc} | 
|  | 52 | +  "fpath" | 
|  | 53 | +  "dune-site" | 
|  | 54 | +  "dune-build-info" | 
|  | 55 | +  "json-data-encoding" | 
|  | 56 | +  "jsonrpc" {>= "1.12"} | 
|  | 57 | +  "sha" {>= "1.12"} | 
|  | 58 | +  "fileutils" {>= "0.6.4"} | 
|  | 59 | +  "cpu" | 
|  | 60 | +  "arg-complete" {>= "0.2.1"} | 
|  | 61 | +  "yaml" {>= "3.0.0"} | 
|  | 62 | +  "uuidm" | 
|  | 63 | +  "catapult" | 
|  | 64 | +  "catapult-file" | 
|  | 65 | +  "conf-gmp" {>= "3"} | 
|  | 66 | +  "conf-ruby" {with-test} | 
|  | 67 | +  "benchmark" {with-test} | 
|  | 68 | +  "conf-gcc" | 
|  | 69 | +  "domain-local-await" | 
|  | 70 | +  "domain_shims" | 
|  | 71 | +] | 
|  | 72 | +depopts: ["apron" "z3" "domainslib"] | 
|  | 73 | +conflicts: [ | 
|  | 74 | +  "result" {< "1.5"} | 
|  | 75 | +  "apron" {< "v0.9.15"} | 
|  | 76 | +  "camlidl" {< "1.13"} | 
|  | 77 | +  "ez-conf-lib" {= "1"} | 
|  | 78 | +] | 
|  | 79 | +build: [ | 
|  | 80 | +  ["dune" "subst"] {dev} | 
|  | 81 | +  [ | 
|  | 82 | +    "dune" | 
|  | 83 | +    "build" | 
|  | 84 | +    "-p" | 
|  | 85 | +    name | 
|  | 86 | +    "-j" | 
|  | 87 | +    jobs | 
|  | 88 | +    "--promote-install-files=false" | 
|  | 89 | +    "@install" | 
|  | 90 | +    "@runtest" {with-test} | 
|  | 91 | +    "@doc" {with-doc} | 
|  | 92 | +  ] | 
|  | 93 | +  ["dune" "install" "-p" name "--create-install-files" name] | 
|  | 94 | +] | 
|  | 95 | +dev-repo: "git+https://github.com/goblint/analyzer.git" | 
|  | 96 | +# on `dune build` goblint.opam will be generated from goblint.opam.template and dune-project | 
|  | 97 | +# also remember to generate/adjust goblint.opam.locked! | 
|  | 98 | +available: os-family != "bsd" & os-distribution != "alpine" & (arch != "arm64" | os = "macos") | 
|  | 99 | +# pin-depends: [ | 
|  | 100 | +  # published goblint-cil 2.0.7 is currently up-to-date, so no pin needed | 
|  | 101 | +  # [ "goblint-cil.2.0.7" "git+https://github.com/goblint/cil.git#8e2212316ceda6911de2db716933bfb8c64a8585" ] | 
|  | 102 | +  # pinned for stability (https://github.com/goblint/analyzer/issues/1520), remove after new apron release | 
|  | 103 | +  # [ "apron.v0.9.15" "git+https://github.com/antoinemine/apron.git#418a217c7a70dae3f422678f3aaba38ae374d91a" ] | 
|  | 104 | +# ] | 
|  | 105 | +depexts: [ | 
|  | 106 | +  ["libgraph-easy-perl"] {os-distribution = "ubuntu" & with-test} # doesn't work (https://github.com/ocaml/opam/issues/5836) | 
|  | 107 | +] | 
|  | 108 | +post-messages: [ | 
|  | 109 | +  "Do not benchmark Goblint on OCaml 5 (https://goblint.readthedocs.io/en/latest/user-guide/benchmarking/)." {ocaml:version >= "5.0.0"} | 
|  | 110 | +] | 
|  | 111 | +x-ci-accept-failures: [ | 
|  | 112 | +  "macos-homebrew" # newer MacOS headers cannot be parsed (https://github.com/ocaml/opam-repository/pull/26307#issuecomment-2258080206) | 
|  | 113 | +  "opensuse-tumbleweed" # not GNU diff, so some cram tests fail (https://discuss.ocaml.org/t/opensuse-and-opam-tests/14641/2) | 
|  | 114 | +] | 
|  | 115 | +url { | 
|  | 116 | +  src: | 
|  | 117 | +    "https://github.com/goblint/analyzer/releases/download/v2.6.0/goblint-2.6.0.tbz" | 
|  | 118 | +  checksum: [ | 
|  | 119 | +    "sha256=20d5b7332a9f6072ab9ba86c4a53b898eaf681286c56a8805c41850bbf3ddf41" | 
|  | 120 | +    "sha512=7c7685cfcd9aa866bc40e813df2bfcb3c79b3d40e615d8d6d0939c5798b9d70dd7f2ba87a741f5ba0ce891e9d254627207fb28057f1f2f6611e4e0d128fd6a71" | 
|  | 121 | +  ] | 
|  | 122 | +} | 
|  | 123 | +x-commit-hash: "9c6a2462792b3e947b4c4fd1836fea500d5ce46a" | 
0 commit comments