Skip to content

Commit aafa90c

Browse files
authored
Merge pull request #26307 from sim642/release-goblint-cil-2.0.4
[new release] goblint-cil (2.0.4)
2 parents 6ae9c3f + b00858f commit aafa90c

File tree

3 files changed

+87
-4
lines changed
  • packages
    • goblint-cil/goblint-cil.2.0.4
    • goblint

3 files changed

+87
-4
lines changed
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
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+
"Simmo Saan <[email protected]>"
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.05.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}
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-distribution = "fedora" | os-distribution = "ol"}
62+
["perl-FindBin"] {os-distribution = "fedora"}
63+
["build-base"] {os-distribution = "alpine"}
64+
]
65+
available: arch = "x86_64" | arch = "arm64"
66+
url {
67+
src:
68+
"https://github.com/goblint/cil/releases/download/2.0.4/goblint-cil-2.0.4.tbz"
69+
checksum: [
70+
"sha256=adea96efdb7611a688849491b363bcd5fc1e1fb8d6a937185560faefb42dd9cb"
71+
"sha512=b8d8d835e9425cbbd59aeb06ce457e110cbd91c982d99c51e5a24bd5b7b9362f545db32c33ac6abc87a02015f29c8dc19e97ceb756ae1aefc659914f3598df19"
72+
]
73+
}
74+
x-commit-hash: "317e26d48b06d5cdc4acff3df1a6824587052b53"
75+
x-ci-accept-failures: [
76+
"freebsd" # installed cilly binary is not found for some reason (https://github.com/ocaml/opam-repository/pull/24812#issuecomment-1819231335)
77+
]

packages/goblint/goblint.2.2.1/opam

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ bug-reports: "https://github.com/goblint/analyzer/issues"
2020
depends: [
2121
"dune" {>= "3.6"}
2222
"ocaml" {>= "4.10"}
23-
"goblint-cil" {>= "2.0.2"}
23+
"goblint-cil" {>= "2.0.2" & < "2.0.4"}
2424
"batteries" {>= "3.5.0"}
2525
"zarith" {>= "1.8"}
2626
"yojson" {>= "2.0.0"}
@@ -73,7 +73,7 @@ build: [
7373
dev-repo: "git+https://github.com/goblint/analyzer.git"
7474
# on `dune build` goblint.opam will be generated from goblint.opam.template and dune-project
7575
# also remember to generate/adjust goblint.opam.locked!
76-
available: os-distribution != "alpine" & arch != "arm64"
76+
available: os-family != "bsd" & os-distribution != "alpine" & arch != "arm64"
7777
# pin-depends: [
7878
# published goblint-cil 2.0.2 is currently up-to-date, so no pin needed
7979
# [ "goblint-cil.2.0.2" "git+https://github.com/goblint/cil.git#98598d94f796a63751e5a9d39c6b3a9fe1f32330" ]
@@ -92,3 +92,6 @@ url {
9292
]
9393
}
9494
x-commit-hash: "166a9b619b87456059de8f1839fb810621302efb"
95+
x-ci-accept-failures: [
96+
"macos-homebrew" # newer MacOS headers cannot be parsed (https://github.com/ocaml/opam-repository/pull/26307#issuecomment-2258080206)
97+
]

packages/goblint/goblint.2.3.0/opam

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ bug-reports: "https://github.com/goblint/analyzer/issues"
2020
depends: [
2121
"dune" {>= "3.7"}
2222
"ocaml" {>= "4.10"}
23-
"goblint-cil" {>= "2.0.3"}
23+
"goblint-cil" {>= "2.0.3" & < "2.0.4"}
2424
"batteries" {>= "3.5.0"}
2525
"zarith" {>= "1.8"}
2626
"yojson" {>= "2.0.0"}
@@ -73,7 +73,7 @@ build: [
7373
dev-repo: "git+https://github.com/goblint/analyzer.git"
7474
# on `dune build` goblint.opam will be generated from goblint.opam.template and dune-project
7575
# also remember to generate/adjust goblint.opam.locked!
76-
available: os-distribution != "alpine" & arch != "arm64"
76+
available: os-family != "bsd" & os-distribution != "alpine" & arch != "arm64"
7777
# pin-depends: [
7878
# published goblint-cil 2.0.3 is currently up-to-date, so no pin needed
7979
# [ "goblint-cil.2.0.3" "git+https://github.com/goblint/cil.git#d2760bacfbfdb25a374254de44f2ff1cb5f42abd" ]
@@ -92,3 +92,6 @@ url {
9292
]
9393
}
9494
x-commit-hash: "dbd6479a53dbf76f351f853bbc9092d659a8a631"
95+
x-ci-accept-failures: [
96+
"macos-homebrew" # newer MacOS headers cannot be parsed (https://github.com/ocaml/opam-repository/pull/26307#issuecomment-2258080206)
97+
]

0 commit comments

Comments
 (0)