diff --git a/programming/library/z3/actions.py b/programming/library/z3/actions.py index 9598d2adf5..113400c087 100644 --- a/programming/library/z3/actions.py +++ b/programming/library/z3/actions.py @@ -31,5 +31,5 @@ def build(): def install(): shelltools.system("DESTDIR=%s ninja -C build install" % get.installDIR()) - pisitools.dodoc("LICENSE.txt", "README*", "RELEASE_NOTES") + pisitools.dodoc("RELEASE_NOTES.md") diff --git a/programming/library/z3/files/616fc2cbd5522137b78097c247feb04e266ff780.patch b/programming/library/z3/files/616fc2cbd5522137b78097c247feb04e266ff780.patch new file mode 100644 index 0000000000..46f25dd78e --- /dev/null +++ b/programming/library/z3/files/616fc2cbd5522137b78097c247feb04e266ff780.patch @@ -0,0 +1,23 @@ +From 616fc2cbd5522137b78097c247feb04e266ff780 Mon Sep 17 00:00:00 2001 +From: Nikolaj Bjorner +Date: Sun, 4 Sep 2022 16:22:11 -0700 +Subject: [PATCH] fix #6314 + +Signed-off-by: Nikolaj Bjorner +--- + src/solver/assertions/asserted_formulas.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/solver/assertions/asserted_formulas.cpp b/src/solver/assertions/asserted_formulas.cpp +index 5780ef227e..5dec90ba7a 100644 +--- a/src/solver/assertions/asserted_formulas.cpp ++++ b/src/solver/assertions/asserted_formulas.cpp +@@ -732,7 +732,7 @@ void asserted_formulas::bv_size_reduce_fn::simplify(justified_expr const& j, exp + auto check_reduce = [&](expr* a, expr* b) { + if (bv.is_extract(a, lo, hi, x) && lo > 0 && hi + 1 == bv.get_bv_size(x) && bv.is_numeral(b, r) && r == 0) { + // insert x -> x[0,lo-1] ++ n into sub +- new_term = bv.mk_concat(bv.mk_extract(lo - 1, 0, x), b); ++ new_term = bv.mk_concat(b, bv.mk_extract(lo - 1, 0, x)); + m_sub.insert(x, new_term); + n = j.get_fml(); + return true; diff --git a/programming/library/z3/pspec.xml b/programming/library/z3/pspec.xml index 440577f900..2321c9f2d8 100644 --- a/programming/library/z3/pspec.xml +++ b/programming/library/z3/pspec.xml @@ -13,8 +13,8 @@ programming.library The Z3 Theorem Prover. Z3 is a theorem prover from Microsoft Research. - - https://github.com/Z3Prover/z3/archive/refs/tags/z3-4.8.17.tar.gz + + https://github.com/Z3Prover/z3/archive/refs/tags/z3-4.11.2.tar.gz cmake @@ -23,6 +23,9 @@ python3-devel python3-setuptools + + 616fc2cbd5522137b78097c247feb04e266ff780.patch + @@ -64,6 +67,13 @@ + + 2022-09-05 + 4.11.2 + Version bump. + fury + uglyside@yandex.ru + 2022-05-28 4.8.17