From fc6ae432cd1e2c0a8537526c17f4a7ee75d0ec0e Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Mon, 11 Sep 2023 12:14:59 +0300 Subject: [PATCH 1/2] [new release] goblint-cil (2.0.2) CHANGES: * Rename `Rmtmps` to `RmUnused` (goblint/cil#135). * Add option to add return statement to `noreturn` functions (goblint/cil#129). * Fix empty `if`s being removed (goblint/cil#140). * Fix `_Float128` support (goblint/cil#118, goblint/cil#119). * Fix C11 `_Alignas` computation (goblint/cil#130). * Fix renaming and merging of `inline` functions based on C standard (goblint/cil#120, goblint/cil#124). * Fix `Pretty` not resetting all global state between calls (goblint/cil#133, goblint/cil#134). * Fix `fundec` location in merger (goblint/cil#139). * Fix `cilly` patcher (goblint/cil#128). * Disable basename by default in parser. --- packages/goblint-cil/goblint-cil.2.0.2/opam | 74 +++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 packages/goblint-cil/goblint-cil.2.0.2/opam diff --git a/packages/goblint-cil/goblint-cil.2.0.2/opam b/packages/goblint-cil/goblint-cil.2.0.2/opam new file mode 100644 index 00000000000..2bb6476f050 --- /dev/null +++ b/packages/goblint-cil/goblint-cil.2.0.2/opam @@ -0,0 +1,74 @@ +opam-version: "2.0" +synopsis: + "A front-end for the C programming language that facilitates program analysis and transformation" +description: """ +This is a fork of the 'cil' package used for 'goblint'. Major changes include: +* Support for C99 and C11. +* Compatibility with modern OCaml versions. +* Use Zarith instead of Num and use that for integer constants. +* Improved locations with columns and spans. +* Removal of unmaintained extensions and MSVC support. +* Use dune instead of make and ocamlbuild. +* Many bug fixes.""" +maintainer: [ + "Michael Schwarz " + "Simmo Saan " +] +authors: [ + "George Necula" + "Scott McPeak" + "Westley Weimer" + "Gabriel Kerneis" + "Ralf Vogler" + "Michael Schwarz" + "Simmo Saan" +] +license: "BSD-3-Clause" +homepage: "https://github.com/goblint/cil" +bug-reports: "https://github.com/goblint/cil/issues" +depends: [ + "ocaml" {>= "4.05.0"} + "ocamlfind" {with-test} + "zarith" + "hevea" {with-doc} + "dune" {>= "2.7"} + "dune-configurator" + "odoc" {with-doc} + "stdlib-shims" + "ppx_deriving_yojson" {>= "3.2"} + "yojson" + "conf-perl" + "cppo" + "conf-gcc" +] +conflicts: ["cil"] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/goblint/cil.git" +depexts: [ + ["perl-ExtUtils-MakeMaker"] {os-distribution = "centos" | os-distribution = "fedora" | os-distribution = "ol"} + ["perl-FindBin"] {os-distribution = "fedora"} + ["build-base"] {os-distribution = "alpine"} +] +available: arch = "x86_64" +url { + src: + "https://github.com/goblint/cil/releases/download/2.0.2/goblint-cil-2.0.2.tbz" + checksum: [ + "sha256=e6b654a67a46fb5a71a6c9d9ed24f46100d3f33537fef1edf5f57d3058d0dc58" + "sha512=fbf66413e777b887d11c40adaf3099e6be444a9609c41508d24fe1fdb20d720fad241d2b8cc80fd6dc8829ea02cfbd7b7fc239a94b807e3df29d3f72f9f20c80" + ] +} +x-commit-hash: "98598d94f796a63751e5a9d39c6b3a9fe1f32330" From 165c8c3f5a8921c746c85eb4ab24a6a59d5aef8b Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Mon, 11 Sep 2023 13:05:44 +0300 Subject: [PATCH 2/2] goblint: add goblint-cil.2.0.2 upper bounds --- packages/goblint/goblint.2.0.0/opam | 2 +- packages/goblint/goblint.2.0.1/opam | 2 +- packages/goblint/goblint.2.1.0/opam | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/goblint/goblint.2.0.0/opam b/packages/goblint/goblint.2.0.0/opam index 73da0011004..d21cd429d90 100644 --- a/packages/goblint/goblint.2.0.0/opam +++ b/packages/goblint/goblint.2.0.0/opam @@ -20,7 +20,7 @@ bug-reports: "https://github.com/goblint/analyzer/issues" depends: [ "ocaml" {>= "4.10" & < "5.0"} "dune" {>= "2.9.1"} - "goblint-cil" {>= "2.0.0"} + "goblint-cil" {>= "2.0.0" & < "2.0.2"} "batteries" {>= "3.4.0"} "zarith" {>= "1.8"} "yojson" {>= "2.0.0"} diff --git a/packages/goblint/goblint.2.0.1/opam b/packages/goblint/goblint.2.0.1/opam index 37df2d63ab9..bf3c5e872fd 100644 --- a/packages/goblint/goblint.2.0.1/opam +++ b/packages/goblint/goblint.2.0.1/opam @@ -20,7 +20,7 @@ bug-reports: "https://github.com/goblint/analyzer/issues" depends: [ "ocaml" {>= "4.10" & < "5.0"} "dune" {>= "2.9.1"} - "goblint-cil" {>= "2.0.0"} + "goblint-cil" {>= "2.0.0" & < "2.0.2"} "batteries" {>= "3.4.0"} "zarith" {>= "1.8"} "yojson" {>= "2.0.0"} diff --git a/packages/goblint/goblint.2.1.0/opam b/packages/goblint/goblint.2.1.0/opam index d1011933381..223238db8f5 100644 --- a/packages/goblint/goblint.2.1.0/opam +++ b/packages/goblint/goblint.2.1.0/opam @@ -20,7 +20,7 @@ bug-reports: "https://github.com/goblint/analyzer/issues" depends: [ "ocaml" {>= "4.10" & < "5.0"} "dune" {>= "3.0"} - "goblint-cil" {>= "2.0.1"} + "goblint-cil" {>= "2.0.1" & < "2.0.2"} "batteries" {>= "3.4.0"} "zarith" {>= "1.8"} "yojson" {>= "2.0.0"}