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