|
| 1 | +opam-version: "2.0" |
| 2 | +synopsis: |
| 3 | + "A front-end for the C programming language that facilitates program analysis and transformation" |
| 4 | +description: """ |
| 5 | +This is a fork of the 'cil' package used for 'goblint'. Major changes include: |
| 6 | +* Support for C99 and C11. |
| 7 | +* Compatibility with modern OCaml versions. |
| 8 | +* Use Zarith instead of Num and use that for integer constants. |
| 9 | +* Improved locations with columns and spans. |
| 10 | +* Removal of unmaintained extensions and MSVC support. |
| 11 | +* Use dune instead of make and ocamlbuild. |
| 12 | +* Many bug fixes.""" |
| 13 | +maintainer: [ |
| 14 | + "Michael Schwarz < [email protected]>" |
| 15 | + |
| 16 | +] |
| 17 | +authors: [ |
| 18 | + "George Necula" |
| 19 | + "Scott McPeak" |
| 20 | + "Westley Weimer" |
| 21 | + "Gabriel Kerneis" |
| 22 | + "Ralf Vogler" |
| 23 | + "Michael Schwarz" |
| 24 | + "Simmo Saan" |
| 25 | +] |
| 26 | +license: "BSD-3-Clause" |
| 27 | +homepage: "https://github.com/goblint/cil" |
| 28 | +bug-reports: "https://github.com/goblint/cil/issues" |
| 29 | +depends: [ |
| 30 | + "ocaml" {>= "4.12.0"} |
| 31 | + "ocamlfind" {with-test} |
| 32 | + "zarith" |
| 33 | + "hevea" {with-doc} |
| 34 | + "dune" {>= "2.7"} |
| 35 | + "dune-configurator" |
| 36 | + "odoc" {with-doc} |
| 37 | + "stdlib-shims" |
| 38 | + "ppx_deriving_yojson" {>= "3.2"} |
| 39 | + "yojson" |
| 40 | + "conf-perl" |
| 41 | + "cppo" |
| 42 | + "conf-gcc" |
| 43 | +] |
| 44 | +conflicts: ["cil"] |
| 45 | +build: [ |
| 46 | + ["dune" "subst"] {dev} |
| 47 | + [ |
| 48 | + "dune" |
| 49 | + "build" |
| 50 | + "-p" |
| 51 | + name |
| 52 | + "-j" |
| 53 | + jobs |
| 54 | + "@install" |
| 55 | + "@runtest" {with-test & (arch = "x86_64" | os != "linux")} # fails on arm64 debian-13 |
| 56 | + "@doc" {with-doc} |
| 57 | + ] |
| 58 | +] |
| 59 | +dev-repo: "git+https://github.com/goblint/cil.git" |
| 60 | +depexts: [ |
| 61 | + ["perl-ExtUtils-MakeMaker"] {os-distribution = "centos" | os-family = "fedora" | os-distribution = "ol"} |
| 62 | + ["perl-FindBin"] {os-distribution = "centos" | os-family = "fedora"} |
| 63 | + ["build-base"] {os-distribution = "alpine"} |
| 64 | +] |
| 65 | +available: arch = "x86_64" | arch = "arm64" |
| 66 | +x-ci-accept-failures: [ |
| 67 | + "freebsd-14.2" # installed cilly binary is not found for some reason (https://github.com/ocaml/opam-repository/pull/24812#issuecomment-1819231335) |
| 68 | +] |
| 69 | +url { |
| 70 | + src: |
| 71 | + "https://github.com/goblint/cil/releases/download/2.0.8/goblint-cil-2.0.8.tbz" |
| 72 | + checksum: [ |
| 73 | + "sha256=b09009442e27c51e61653ca0104069097bfcb7943457478fd5a153cdda9cbc09" |
| 74 | + "sha512=0f89d8920a35daa9213d7c407d1e1d89d820df9d6da1878335209e166aad68b2a377134ab08bb74499b40d13a7b758959b225b01e067d6e609da5295913e2af7" |
| 75 | + ] |
| 76 | +} |
| 77 | +x-commit-hash: "d1da1ba071b7060b7b9c533853a3c56e82e762ba" |
0 commit comments