Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase 2.4.3 #597

Merged
merged 8 commits into from
May 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- fix-ci
- next
- main
- 2.4.x

env:
OCAML_DEFAULT_VERSION: 4.10.0
Expand Down
16 changes: 16 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## v2.4.3 (2023-04-14)

# Build
* Restrict the requirement version of Ocplib-simplex (PR #573)
* Dune 3.0 or above required, see https://github.com/ocaml/dune/issues/5563 (PR #575)
* Zarith 1.4 or above required
* Cairo2 0.6.4 or above required
* psmt2-frontend 0.4 or above required
* Using js_of_ocaml with a version between 4.0.1 and 5.0.1 required (PR #575)

# Bug fixes
* Fix soundness issues in the arithmetic reasoner #476, #477, #479 (PR #573)

# Regression fixes
* Remove flattening, see issues #505, #567 (PR #573)
* Using a weak table for the Shostak.combine cache to prevent some regressions (PR #573)
48 changes: 36 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -291,23 +291,47 @@ VERSION_NUM=$(VERSION:v%=%)
# Some convenient variables
PUBLIC_RELEASE=alt-ergo-$(VERSION_NUM)
PUBLIC_TARGZ=$(PUBLIC_RELEASE).tar.gz
FILES_DEST=public-release/$(PUBLIC_RELEASE)/$(PUBLIC_RELEASE)
FILES_DEST=public-release/$(PUBLIC_RELEASE)

public-release:
rm -rf public-release
--prepare-release:
git clean -dfxi
mkdir -p $(FILES_DEST)
cp configure configure.ml *.opam dune-project dune $(FILES_DEST)
git clean -dfx
cp licenses/License.OCamlPro licences/OCamlPro-Non-Commercial-License.txt licenses/OCamlPro-Non-Commercial-License.pdf licenses/LGPL-License.txt licenses/Apache-License-2.0.txt $(FILES_DEST)/
cp README.md LICENSE.md COPYING.md $(FILES_DEST)/
cp Makefile $(FILES_DEST)/
cp INSTALL.md alt-ergo.opam CHANGES $(FILES_DEST)/
cp -rf lib bin common parsers preludes examples doc $(FILES_DEST)/
cp -rf plugins $(FILES_DEST)/ 2> /dev/null || echo "cp: skip plugins dir (not found)"
cp --parents -r \
docs \
examples \
licenses/Apache-License-2.0.txt \
licenses/OCamlPro-Non-Commercial-License.pdf \
licenses/OCamlPro-Non-Commercial-License.txt \
licenses/LGPL-License.txt \
non-regression \
rsc \
src \
tests \
configure \
configure.ml \
alt-ergo.opam \
alt-ergo-lib.opam \
alt-ergo-parsers.opam \
altgr-ergo.opam \
dune-project \
Makefile \
README.md \
LICENSE.md \
CHANGES.md \
$(FILES_DEST)
sed -i "s/%%VERSION_NUM%%/$(VERSION_NUM)/" $(FILES_DEST)/$(UTIL_DIR)/version.ml
sed -i "s/%%VCS_COMMIT_ID%%/$(VCS_COMMIT_ID)/" $(FILES_DEST)/$(UTIL_DIR)/version.ml
sed -i "s/%%BUILD_DATE%%/`LANG=en_US; date`/" $(FILES_DEST)/$(UTIL_DIR)/version.ml
cd $(FILES_DEST)/.. && tar cfz $(PUBLIC_TARGZ) $(PUBLIC_RELEASE)

public-release: --prepare-release
cd public-release && tar cfz $(PUBLIC_TARGZ) $(PUBLIC_RELEASE)
rm -rf $(FILES_DEST)

free-public-release: --prepare-release
cp licenses/CeCILL-C-License-v1.txt $(FILES_DEST)
find src/lib src/bin src/parsers -iname "*.ml*" -exec headache -h licenses/free-header.txt {} \;
cd public-release && tar cfz $(PUBLIC_TARGZ) $(PUBLIC_RELEASE)
git restore $(SRC_DIR)
rm -rf $(FILES_DEST)

# ==============
Expand Down
15 changes: 15 additions & 0 deletions alt-ergo-js.opam.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This part comes from the template. Please edit alt-ergo-js.opam.template
# and not alt-ergo-js.opam which is generated by dune
tags: "org:OCamlPro"

license: [
"LicenseRef-OCamlpro-Non-Commercial"
"Apache-2.0"
"LGPL-2.1-only"
]

build: [
["ocaml" "unix.cma" "configure.ml" name "--prefix" prefix "--libdir" lib "--mandir" man]
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
]
8 changes: 5 additions & 3 deletions alt-ergo-lib.opam
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,21 @@ depends: [
"dolmen_loop" {>= "0.8.1"}
"num"
"ocplib-simplex" {>= "0.5"}
"zarith"
"zarith" {>= "1.4"}
"seq"
"stdlib-shims"
"camlzip" {>= "1.07"}
"odoc" {with-doc}
]
dev-repo: "git+https://github.com/OCamlPro/alt-ergo.git"
# This part comes from the template. Please edit alt-ergo.opam.template
# This part comes from the template. Please edit alt-ergo-lib.opam.template
# and not alt-ergo-lib.opam which is generated by dune
tags: "org:OCamlPro"

license: [
"OCamlPro Non-Commercial Purpose License, version 1"
"LicenseRef-OCamlpro-Non-Commercial"
"Apache-2.0"
"LGPL-2.1-only"
]

build: [
Expand Down
6 changes: 4 additions & 2 deletions alt-ergo-lib.opam.template
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# This part comes from the template. Please edit alt-ergo.opam.template
# This part comes from the template. Please edit alt-ergo-lib.opam.template
# and not alt-ergo-lib.opam which is generated by dune
tags: "org:OCamlPro"

license: [
"OCamlPro Non-Commercial Purpose License, version 1"
"LicenseRef-OCamlpro-Non-Commercial"
"Apache-2.0"
"LGPL-2.1-only"
]

build: [
Expand Down
8 changes: 5 additions & 3 deletions alt-ergo-parsers.opam
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,20 @@ depends: [
"ocaml" {>= "4.05.0"}
"dune" {>= "3.0"}
"alt-ergo-lib" {= version}
"psmt2-frontend" {>= "0.3"}
"psmt2-frontend" {>= "0.4"}
"menhir"
"stdlib-shims"
"odoc" {with-doc}
]
dev-repo: "git+https://github.com/OCamlPro/alt-ergo.git"
# This part comes from the template. Please edit alt-ergo.opam.template
# This part comes from the template. Please edit alt-ergo-parsers.opam.template
# and not alt-ergo-parsers.opam which is generated by dune
tags: "org:OCamlPro"

license: [
"OCamlPro Non-Commercial Purpose License, version 1"
"LicenseRef-OCamlpro-Non-Commercial"
"Apache-2.0"
"LGPL-2.1-only"
]

build: [
Expand Down
6 changes: 4 additions & 2 deletions alt-ergo-parsers.opam.template
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# This part comes from the template. Please edit alt-ergo.opam.template
# This part comes from the template. Please edit alt-ergo-parsers.opam.template
# and not alt-ergo-parsers.opam which is generated by dune
tags: "org:OCamlPro"

license: [
"OCamlPro Non-Commercial Purpose License, version 1"
"LicenseRef-OCamlpro-Non-Commercial"
"Apache-2.0"
"LGPL-2.1-only"
]

build: [
Expand Down
3 changes: 2 additions & 1 deletion alt-ergo.opam
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ dev-repo: "git+https://github.com/OCamlPro/alt-ergo.git"
tags: "org:OCamlPro"

license: [
"OCamlPro Non-Commercial Purpose License, version 1"
"LicenseRef-OCamlpro-Non-Commercial"
"Apache-2.0"
"LGPL-2.1-only"
]

Expand Down
3 changes: 2 additions & 1 deletion alt-ergo.opam.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
tags: "org:OCamlPro"

license: [
"OCamlPro Non-Commercial Purpose License, version 1"
"LicenseRef-OCamlpro-Non-Commercial"
"Apache-2.0"
"LGPL-2.1-only"
]

Expand Down
7 changes: 5 additions & 2 deletions altgr-ergo.opam
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,21 @@ depends: [
"alt-ergo-lib" {= version}
"alt-ergo-parsers" {= version}
"lablgtk3"
"cairo2" {>= "0.6.4"}
"conf-gtksourceview3"
"lablgtk3-sourceview3"
"cmdliner" {>= "1.1.0"}
"odoc" {with-doc}
]
dev-repo: "git+https://github.com/OCamlPro/alt-ergo.git"
# This part comes from the template. Please edit alt-ergo.opam.template
# This part comes from the template. Please edit altgr-ergo.opam.template
# and not altgr-ergo.opam which is generated by dune
tags: "org:OCamlPro"

license: [
"OCamlPro Non-Commercial Purpose License, version 1"
"LicenseRef-OCamlpro-Non-Commercial"
"Apache-2.0"
"LGPL-2.1-only"
]

build: [
Expand Down
6 changes: 4 additions & 2 deletions altgr-ergo.opam.template
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# This part comes from the template. Please edit alt-ergo.opam.template
# This part comes from the template. Please edit altgr-ergo.opam.template
# and not altgr-ergo.opam which is generated by dune
tags: "org:OCamlPro"

license: [
"OCamlPro Non-Commercial Purpose License, version 1"
"LicenseRef-OCamlpro-Non-Commercial"
"Apache-2.0"
"LGPL-2.1-only"
]

build: [
Expand Down
Loading