|
| 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 | + "dune" {>= "3.7"} |
| 22 | + "ocaml" {>= "4.10"} |
| 23 | + "goblint-cil" {>= "2.0.3"} |
| 24 | + "batteries" {>= "3.5.0"} |
| 25 | + "zarith" {>= "1.8"} |
| 26 | + "yojson" {>= "2.0.0"} |
| 27 | + "qcheck-core" {>= "0.19"} |
| 28 | + "ppx_deriving" |
| 29 | + "ppx_deriving_hash" |
| 30 | + "ppx_deriving_yojson" {>= "3.7.0"} |
| 31 | + "ounit2" {with-test} |
| 32 | + "qcheck-ounit" {with-test} |
| 33 | + "odoc" {with-doc} |
| 34 | + "fpath" |
| 35 | + "dune-site" |
| 36 | + "dune-build-info" |
| 37 | + "json-data-encoding" |
| 38 | + "jsonrpc" {>= "1.12"} |
| 39 | + "sha" {>= "1.12"} |
| 40 | + "fileutils" {>= "0.6.4"} |
| 41 | + "cpu" |
| 42 | + "arg-complete" |
| 43 | + "yaml" {>= "3.0.0"} |
| 44 | + "uuidm" |
| 45 | + "catapult" |
| 46 | + "catapult-file" |
| 47 | + "conf-gmp" {>= "3"} |
| 48 | + "conf-ruby" {with-test} |
| 49 | + "benchmark" {with-test} |
| 50 | + "conf-gcc" |
| 51 | +] |
| 52 | +depopts: ["apron" "z3"] |
| 53 | +conflicts: [ |
| 54 | + "result" {< "1.5"} |
| 55 | +] |
| 56 | +build: [ |
| 57 | + ["dune" "subst"] {dev} |
| 58 | + [ |
| 59 | + "dune" |
| 60 | + "build" |
| 61 | + "-p" |
| 62 | + name |
| 63 | + "-j" |
| 64 | + jobs |
| 65 | + "--promote-install-files=false" |
| 66 | + "@install" |
| 67 | + "@runtest" {with-test} |
| 68 | + "@doc" {with-doc} |
| 69 | + ] |
| 70 | + ["dune" "install" "-p" name "--create-install-files" name] |
| 71 | +] |
| 72 | +dev-repo: "git+https://github.com/goblint/analyzer.git" |
| 73 | +# on `dune build` goblint.opam will be generated from goblint.opam.template and dune-project |
| 74 | +# also remember to generate/adjust goblint.opam.locked! |
| 75 | +available: os-distribution != "alpine" & arch != "arm64" |
| 76 | +# pin-depends: [ |
| 77 | + # published goblint-cil 2.0.3 is currently up-to-date, so no pin needed |
| 78 | + # [ "goblint-cil.2.0.3" "git+https://github.com/goblint/cil.git#d2760bacfbfdb25a374254de44f2ff1cb5f42abd" ] |
| 79 | + # TODO: add back after release, only pinned for optimization (https://github.com/ocaml-ppx/ppx_deriving/pull/252) |
| 80 | + # [ "ppx_deriving.5.2.1" "git+https://github.com/ocaml-ppx/ppx_deriving.git#0a89b619f94cbbfc3b0fb3255ab4fe5bc77d32d6" ] |
| 81 | +# ] |
| 82 | +post-messages: [ |
| 83 | + "Do not benchmark Goblint on OCaml 5 (https://goblint.readthedocs.io/en/latest/user-guide/benchmarking/)." {ocaml:version >= "5.0.0"} |
| 84 | +] |
| 85 | +url { |
| 86 | + src: |
| 87 | + "https://github.com/goblint/analyzer/releases/download/v2.3.0/goblint-2.3.0.tbz" |
| 88 | + checksum: [ |
| 89 | + "sha256=b729c94adb383a39aea32eb005c988dfd44b92af22ee6a4eedf4239542ac6c26" |
| 90 | + "sha512=643b98770e5fe5644324c95c9ae3a9f698f25c8b11b298f0751d524e0b20af368b2a465fc8200b75a73d48fc9a053fd90f5e8920d4db070927f93188bb8687e0" |
| 91 | + ] |
| 92 | +} |
| 93 | +x-commit-hash: "dbd6479a53dbf76f351f853bbc9092d659a8a631" |
0 commit comments