|
| 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.7"} |
| 38 | + "ocaml" {>= "4.14"} |
| 39 | + "goblint-cil" {>= "2.0.5"} |
| 40 | + "batteries" {>= "3.5.1"} |
| 41 | + "zarith" {>= "1.10"} |
| 42 | + "yojson" {>= "2.0.0"} |
| 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" |
| 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 | +] |
| 70 | +depopts: [ |
| 71 | + "apron" {>= "v0.9.15"} |
| 72 | + "z3" |
| 73 | +] |
| 74 | +conflicts: [ |
| 75 | + "result" {< "1.5"} |
| 76 | + "ez-conf-lib" {= "1"} |
| 77 | +] |
| 78 | +build: [ |
| 79 | + ["dune" "subst"] {dev} |
| 80 | + [ |
| 81 | + "dune" |
| 82 | + "build" |
| 83 | + "-p" |
| 84 | + name |
| 85 | + "-j" |
| 86 | + jobs |
| 87 | + "--promote-install-files=false" |
| 88 | + "@install" |
| 89 | + "@runtest" {with-test} |
| 90 | + "@doc" {with-doc} |
| 91 | + ] |
| 92 | + ["dune" "install" "-p" name "--create-install-files" name] |
| 93 | +] |
| 94 | +dev-repo: "git+https://github.com/goblint/analyzer.git" |
| 95 | +# on `dune build` goblint.opam will be generated from goblint.opam.template and dune-project |
| 96 | +# also remember to generate/adjust goblint.opam.locked! |
| 97 | +available: os-family != "bsd" & os-distribution != "alpine" & (arch != "arm64" | os = "macos") |
| 98 | +# pin-depends: [ |
| 99 | + # published goblint-cil 2.0.5 is currently up-to-date, so no pin needed |
| 100 | + # [ "goblint-cil.2.0.5" "git+https://github.com/goblint/cil.git#c79208b21ea61d7b72eae29a18c1ddeda4795dfd" ] |
| 101 | + # pinned for stability (https://github.com/goblint/analyzer/issues/1520), remove after new camlidl release |
| 102 | + # [ "camlidl.1.12" "git+https://github.com/xavierleroy/camlidl.git#1c1e87e3f56c2c6b3226dd0af3510ef414b462d0" ] |
| 103 | + # pinned for stability (https://github.com/goblint/analyzer/issues/1520), remove after new apron release |
| 104 | + # [ "apron.v0.9.15" "git+https://github.com/antoinemine/apron.git#418a217c7a70dae3f422678f3aaba38ae374d91a" ] |
| 105 | +# ] |
| 106 | +depexts: [ |
| 107 | + ["libgraph-easy-perl"] {os-distribution = "ubuntu" & with-test} |
| 108 | +] |
| 109 | +post-messages: [ |
| 110 | + "Do not benchmark Goblint on OCaml 5 (https://goblint.readthedocs.io/en/latest/user-guide/benchmarking/)." {ocaml:version >= "5.0.0"} |
| 111 | +] |
| 112 | +x-ci-accept-failures: [ |
| 113 | + "macos-homebrew" # newer MacOS headers cannot be parsed (https://github.com/ocaml/opam-repository/pull/26307#issuecomment-2258080206) |
| 114 | + "opensuse-tumbleweed" # not GNU diff, so some cram tests fail (https://discuss.ocaml.org/t/opensuse-and-opam-tests/14641/2) |
| 115 | +] |
| 116 | +url { |
| 117 | + src: |
| 118 | + "https://github.com/goblint/analyzer/releases/download/v2.5.0/goblint-2.5.0.tbz" |
| 119 | + checksum: [ |
| 120 | + "sha256=452d8491527aea21f2cbb11defcc14ba0daf9fdb6bdb9fc0af73e56eac57b916" |
| 121 | + "sha512=1993cd45c4c7fe124ca6e157f07d17ec50fab5611b270a434ed1b7fb2910aa85a8e6eaaa77dad770430710aafb2f6d676c774dd33942d921f23e2f9854486551" |
| 122 | + ] |
| 123 | +} |
| 124 | +x-commit-hash: "7170d9a8944706a1adc0acaeb81a4fc6d914af7b" |
0 commit comments