|
| 1 | +opam-version: "2.0" |
| 2 | +synopsis: "Static analysis framework for C" |
| 3 | +maintainer: [ |
| 4 | + |
| 5 | + "Michael Schwarz < [email protected]>" |
| 6 | +] |
| 7 | +authors: [ |
| 8 | + "Simmo Saan" |
| 9 | + "Michael Schwarz" |
| 10 | + "Julian Erhard" |
| 11 | + "Sarah Tilscher" |
| 12 | + "Ralf Vogler" |
| 13 | + "Kalmer Apinis" |
| 14 | + "Vesal Vojdani" |
| 15 | +] |
| 16 | +license: "MIT" |
| 17 | +homepage: "https://goblint.in.tum.de" |
| 18 | +doc: "https://goblint.readthedocs.io/en/latest/" |
| 19 | +bug-reports: "https://github.com/goblint/analyzer/issues" |
| 20 | +depends: [ |
| 21 | + "ocaml" {>= "4.10"} |
| 22 | + "dune" {>= "3.0"} |
| 23 | + "goblint-cil" {>= "2.0.1"} |
| 24 | + "batteries" {>= "3.4.0"} |
| 25 | + "zarith" {>= "1.8"} |
| 26 | + "yojson" {>= "2.0.0"} |
| 27 | + "qcheck-core" |
| 28 | + "ppx_deriving" |
| 29 | + "ppx_deriving_hash" |
| 30 | + "ppx_deriving_yojson" {>= "3.7.0"} |
| 31 | + "ppx_blob" {>= "0.6.0"} |
| 32 | + "ounit2" {with-test} |
| 33 | + "qcheck-ounit" {with-test} |
| 34 | + "odoc" {with-doc} |
| 35 | + "fpath" |
| 36 | + "dune-site" |
| 37 | + "json-data-encoding" |
| 38 | + "jsonrpc" {>= "1.12"} |
| 39 | + "sha" {>= "1.12"} |
| 40 | + "cpu" |
| 41 | + "arg-complete" |
| 42 | + "yaml" |
| 43 | + "uuidm" |
| 44 | + "catapult" |
| 45 | + "catapult-file" |
| 46 | + "conf-gmp" {>= "3"} |
| 47 | + "conf-ruby" {with-test} |
| 48 | + "benchmark" {with-test} |
| 49 | + "conf-gcc" |
| 50 | +] |
| 51 | +depopts: ["apron" "z3"] |
| 52 | +conflicts: [ |
| 53 | + "result" {< "1.5"} |
| 54 | +] |
| 55 | +build: [ |
| 56 | + ["dune" "subst"] {dev} |
| 57 | + [ |
| 58 | + "dune" |
| 59 | + "build" |
| 60 | + "-p" |
| 61 | + name |
| 62 | + "-j" |
| 63 | + jobs |
| 64 | + "--promote-install-files=false" |
| 65 | + "@install" |
| 66 | + "@runtest" {with-test} |
| 67 | + "@doc" {with-doc} |
| 68 | + ] |
| 69 | + ["dune" "install" "-p" name "--create-install-files" name] |
| 70 | +] |
| 71 | +dev-repo: "git+https://github.com/goblint/analyzer.git" |
| 72 | +# on `dune build` goblint.opam will be generated from goblint.opam.template and dune-project |
| 73 | +# also remember to generate/adjust goblint.opam.locked! |
| 74 | +available: os-distribution != "alpine" & arch != "arm64" |
| 75 | +url { |
| 76 | + src: |
| 77 | + "https://github.com/goblint/analyzer/releases/download/v2.1.0/goblint-2.1.0.tbz" |
| 78 | + checksum: [ |
| 79 | + "sha256=bfc412ec2e447eaef6f4f83892e3511ebf305593cb00561c1406be3ae8bf48e9" |
| 80 | + "sha512=5f2a162e5f36bffafc9836b0d18b5b2808cecfa6bf68f83bb7d1e8b9947ac74cf07776eb09274b4b29d55c897a45a10768f0d9ed25810cf6ba2409c525e4cd4d" |
| 81 | + ] |
| 82 | +} |
| 83 | +x-commit-hash: "694375b2081f51f381792fe02c3dd69a4a2e9f97" |
| 84 | +# pin-depends: [ |
| 85 | + # published goblint-cil 2.0.1 is currently up-to-date, so no pin needed |
| 86 | + # [ "goblint-cil.2.0.0" "git+https://github.com/goblint/cil.git#3261501a8c7d712748711341677bf023437e3c56" ] |
| 87 | + # TODO: add back after release, only pinned for optimization (https://github.com/ocaml-ppx/ppx_deriving/pull/252) |
| 88 | + # [ "ppx_deriving.5.2.1" "git+https://github.com/ocaml-ppx/ppx_deriving.git#0a89b619f94cbbfc3b0fb3255ab4fe5bc77d32d6" ] |
| 89 | + # TODO: add back after release, only pinned for CI stability |
| 90 | + # [ "apron.v0.9.13" "git+https://github.com/antoinemine/apron.git#c852ebcc89e5cf4a5a3318e7c13c73e1756abb11"] |
| 91 | +# ] |
0 commit comments