3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 01:24:08 +00:00
Commit graph

1826 commits

Author SHA1 Message Date
Nikolaj Bjorner 7c2e4f2f9c fiddle with what gets added to win-arm64
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-13 20:43:17 -08:00
Nikolaj Bjorner f7d9a5ba93
Revert "Disable Python compilation cache during build (#7052)" (#7054)
This reverts commit 8293be859f.
2023-12-13 19:32:00 -08:00
Nikolaj Bjorner c20b8cb978 nightly
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-13 18:46:20 -08:00
Nikolaj Bjorner 995b40865b remove readme reference, add arm64 build to nightly
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-13 18:44:11 -08:00
Christoph M. Wintersteiger 8293be859f
Disable Python compilation cache during build (#7052)
* Disable Python compilation cache during build

* Fix var name
2023-12-13 18:05:33 -08:00
Nikolaj Bjorner 0f4e96ac5d fix character
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-10 20:50:32 -08:00
Nikolaj Bjorner 5fc039d6ea nuget spec: does this work?
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-10 12:33:29 -08:00
Nikolaj Bjorner 5732c3c980 add readme under content
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-10 11:11:37 -08:00
Nikolaj Bjorner 91837c3aee try adding readme again
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-10 10:22:41 -08:00
Nikolaj Bjorner 6afed0819c update minor version number
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-06 07:13:07 -08:00
Nikolaj Bjorner dce2f3d88f add release notes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-06 07:10:56 -08:00
Nikolaj Bjorner b3ef74c86d remove readme for dist
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-05 18:50:23 -08:00
Nikolaj Bjorner fc3a7655a5 try to put readme in root
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-05 18:06:17 -08:00
Nikolaj Bjorner 2c8d33851a add README path to mk_nuget_task
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-05 16:38:35 -08:00
Nikolaj Bjorner 8111d879cd add README path to mk_nuget_task
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-05 16:37:48 -08:00
Nikolaj Bjorner 1fde3e9fb8 update release
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-05 16:16:27 -08:00
Nikolaj Bjorner 156426a0cf use / for package path
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-05 15:10:13 -08:00
Nikolaj Bjorner 111ce01702 update path reference to readme 2023-12-05 13:47:05 -08:00
Nikolaj Bjorner d566eb3df7 include readme in package
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-05 13:04:25 -08:00
Nikolaj Bjorner 426d7f5810 remove reference to readme in nuget task
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-05 12:11:29 -08:00
NikolajBjorner 7c81ee0890 fix case of README.md in nuget
Signed-off-by: NikolajBjorner <nbjorner@microsoft.com>
2023-12-05 09:02:08 -08:00
NikolajBjorner 669f665f24 update release pipeline
Signed-off-by: NikolajBjorner <nbjorner@microsoft.com>
2023-12-05 08:19:20 -08:00
NikolajBjorner aa2e54c5a4 update release pipeline
Signed-off-by: NikolajBjorner <nbjorner@microsoft.com>
2023-12-05 08:18:33 -08:00
NikolajBjorner 23fcb4376f readme
Signed-off-by: NikolajBjorner <nbjorner@microsoft.com>
2023-12-05 08:03:28 -08:00
NikolajBjorner f5ae8c324c make a readme file
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-05 08:01:59 -08:00
Michał Górny 9ad4d50b5d
Use built-in importlib.resources on Python 3.9+ (#7042)
Use built-in `importlib.resources` module rather than the external
`importlib_resources` package on Python 3.9 and newer.  The latter
is only intended as a backport for old Python versions, and since modern
Linux distributions may no longer support such old Python versions,
they also no longer provide importlib_resources (this is the case
on Gentoo).
2023-12-05 07:49:32 -08:00
Rui Chen 4d4359f78a
fix shebang syntax issue (#7044) 2023-12-05 07:48:15 -08:00
Nikolaj Bjorner 389aea3330 update release notes, update version number
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-04 19:48:43 -08:00
Nikolaj Bjorner 5e3f1d988b update release notes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-04 19:38:52 -08:00
Nikolaj Bjorner f7415bb677 install importlib-resources for ubuntu doc
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-12-04 10:32:02 -08:00
Nikolaj Bjorner 1d4644f718 fix typos in script 2023-11-28 16:50:28 -08:00
Bruce Mitchener 3422f44cea
Fix syntax warning when using Python 3.12. (#7022)
This happens when generating the Python API and you are using
Python 3.12 in the build environment:

```
.../z3/scripts/update_api.py:1828: SyntaxWarning: invalid escape sequence '\#'
```

This was a `DeprecationWarning` previously, but Python 3.12 changed
it to a `SyntaxWarning` to make it more visible. The release notes
indicate that this will be a syntax error in the future.
2023-11-28 07:55:25 -08:00
Nikolaj Bjorner c0ee4e9613 pip install importlib resources
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-14 10:02:24 -08:00
Nikolaj Bjorner 1ce95d3859 pip install importlib resources
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-14 10:01:13 -08:00
Nikolaj Bjorner 37b283fab9 use python3 in nightly
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-14 08:54:10 -08:00
Nikolaj Bjorner 7ed27a1f41 prepare release script
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-11-14 08:48:19 -08:00
Nikolaj Bjorner f6c9ead10c #6964
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-10-27 13:17:20 -07:00
rsetaluri d5fe4b0d78
Update script to use importlib_resources (#6949)
To avoid a deprecation warning, this change updates scripts/update_api.py
to use 'importlib_resources' instead of 'pkg_resources'.

See https://setuptools.pypa.io/en/latest/pkg_resources.html and
https://importlib-resources.readthedocs.io/en/latest/migration.html for
more information.
2023-10-24 13:19:44 -07:00
John Fleisher 858477f3e3
Add c++ flags for vulcan assembly compliance (#6906) 2023-09-18 09:03:56 -07:00
Sijmen 0a444f357a
Slightly improve Z3_LIBRARY_PATH error message (#6895) 2023-09-11 12:58:03 -07:00
Nikolaj Bjorner a8c4384536 download 20.04
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-08-18 07:58:48 -07:00
Nikolaj Bjorner 63f18a1d99 #6822 - change to 2.31 for nuget packaging
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-08-17 18:47:05 -07:00
Nikolaj Bjorner 50717fb655 update pattern for glibc
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-08-15 09:32:43 -07:00
Nikolaj Bjorner 23da36126a update nightly to pull arm
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-08-03 11:01:49 -07:00
Nikolaj Bjorner 3df6cd2c5f update nightly to pull arm
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-08-03 10:26:12 -07:00
Nikolaj Bjorner 4bfe9a895a update nightly to pull arm
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-08-03 10:04:23 -07:00
Nikolaj Bjorner 0478ab1498 update nightly script
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-08-02 17:16:32 -07:00
Nikolaj Bjorner 8d48ff44c4 update nightly script
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-08-02 17:10:23 -07:00
NikolajBjorner 260cb337de try to instrument nightly with aarch compiler for arm64
Signed-off-by: NikolajBjorner <nbjorner@microsoft.com>
2023-08-02 11:25:16 -07:00
NikolajBjorner ea95f8086f try to instrument nightly with aarch compiler for arm64
Signed-off-by: NikolajBjorner <nbjorner@microsoft.com>
2023-08-02 11:24:32 -07:00
Nikolaj Bjorner d33d8ac07a revert setting arm on linux
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-08-02 10:55:03 -07:00
Nikolaj Bjorner 9b5727adde enable arm for non-osx
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-08-02 10:51:52 -07:00
Nikolaj Bjorner afe1218bc6 update release.yml with linux-arm64
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-31 10:46:16 -07:00
Nikolaj Bjorner 6c5434f988 rename artifacts apart
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-28 11:40:37 -07:00
Nikolaj Bjorner 1b2b8809c0 try to add Ubuntu ARM64 to nightly #6835
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-28 11:10:14 -07:00
Nikolaj Bjorner df8ccce08e #6822 string matching against version number of glibc to ensure inclusino
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-21 11:03:20 -07:00
Nikolaj Bjorner e8a38c5482 build fixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-18 19:14:45 -07:00
Nikolaj Bjorner 3d8f75b3d8 enable on-clause with dependencies
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-07-18 16:59:02 -07:00
THE Spellchecker dc0887db5a
Typo Fixes (#6803) 2023-07-09 11:56:10 -07:00
Jerry James f5c069f899
Fix regular expression strings with escapes (#6797) 2023-07-07 09:57:07 -07:00
Nikolaj Bjorner 81068981aa fix #6746, fix type errors in java bindings 2023-06-03 09:41:29 +02:00
Clemens Eisenhofer 82667bd86b
Fix UP's decide callback (#6707)
* Query Boolean Assignment in the UP

* UP's decide ref arguments => next_split

* Fixed wrapper

* More fixes
2023-06-02 09:52:54 +02:00
ditto 11264c38d8
Java user propagator interface (#6733)
* Java API: user propagator interface

* Java API: improved user propagator interface

* Java API: Add UserPropagatorBase.java

* Remove redundant header file

* Initialize `JavaInfo` object and error handling

* Native.UserPropagatorBase implements AutoCloseable

* Add Override annotation
2023-05-24 18:27:28 +01:00
Nikolaj Bjorner f928b44606 update version number
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-05-12 14:53:52 -07:00
Nikolaj Bjorner e417f7d785 updated release notes for 12.2
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-05-12 12:59:04 -07:00
Nikolaj Bjorner ba911009e4 disable publish
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-05-11 16:54:40 -07:00
Nikolaj Bjorner 6aaaa3b015 fix #6660
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-03-31 09:58:28 -07:00
Kevin Phoenix 1a9990a92f
Use sys.getdefaultencoding() instead of sys.stdout.encoding (#6612) 2023-02-28 11:46:10 -08:00
Nikolaj Bjorner a150e58893 update release script
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-02-07 09:21:02 -08:00
Nikolaj Bjorner f3ae7692ca update stage name 2023-02-06 16:08:14 -08:00
Nikolaj Bjorner c1cadd37cc update stage name 2023-02-06 16:07:12 -08:00
Nikolaj Bjorner a7231027c3 try side-by-side nightly 2023-02-06 16:04:54 -08:00
Nikolaj Bjorner 992793bd56 update nuget packaging targets #6570 2023-02-05 21:35:22 -08:00
Nikolaj Bjorner 550619bfcf add API for creating and attaching simplifiers
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-31 17:06:03 -08:00
Nikolaj Bjorner d263b373ed update release notes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-31 12:19:33 -08:00
Nikolaj Bjorner 6022c17131 Add simplification customization for SMTLIB2
Add the ability to customize incremental pre-processing simplification for the SMTLIB2 front-end. The main new capability is to use pre-processing tactics in incremental mode that were previously not available. The main new capabilities are
- solve-eqs
- reduce-args
- elim-unconstrained
There are several more. Documentation and exposed simplifiers are populated incrementally. The current set of supported simplifiers can be inspected by using z3 with the --simplifiers flag or referring to https://microsoft.github.io/z3guide/docs/strategies/simplifiers

Some pending features are:
- add the ability to update parameters to simplifiers similar to how tactics can be controlled using parameters.
- expose simplification solvers over the binary API.
2023-01-30 22:38:51 -08:00
Nikolaj Bjorner dd0decfe5d create simplifier_solver wrapper to supply simplifier layer
move sat_smt_preprocess to solver
fix bugs in model_reconstruction_trail for dependency replay

This is a preparatory step for exposing pre-processing as tactics.
2023-01-30 16:12:25 -08:00
Nikolaj Bjorner 83bd3d1e21 fix mk-project file for python build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-27 18:04:58 -08:00
Nikolaj Bjorner 3b5ae285d9 add outline for interval reasoning
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-22 23:28:36 -08:00
Nikolaj Bjorner 59c41bd8ce increment release version
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-18 07:59:47 -08:00
Nikolaj Bjorner 3012293c35 update release script
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-17 19:10:26 -08:00
Nikolaj Bjorner 7368f9f7d3 increase build version, better propagation in euf-egraph, handle assumptions in sat.smt
- increase build version to 4.12.1. This prepares updated release for MacOs-11 build on x86
- move literal propagation mode in euf-egraph to a callback and traversal of equivalence class. Track antecedent by newest equality instead of root. This makes equality propagation to literals have similar behavior as in legacy solver and appears to result in a speedup (10% fewer conflicts on QF_UF/QG-classification/qg5/iso_icl478.smt2 in preliminary testing)
- fix interaction of pre-processing and assumptions. Pre-processing has to freeze assumption literals so they don't get eliminated. This is similar to dependencies that are already frozen.
2023-01-17 14:07:07 -08:00
Nikolaj Bjorner c8f197d0ca specify macos-11 in nightly to force os11 build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-16 16:30:46 -05:00
Nikolaj Bjorner feda706d0d Update release.yml for Azure Pipelines 2023-01-14 06:24:26 -08:00
Nikolaj Bjorner 5dbd0bb658 add sign
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-13 23:33:39 -08:00
Nikolaj Bjorner 54524de784 Update release.yml for Azure Pipelines 2023-01-13 17:10:36 -08:00
Nikolaj Bjorner c33b1e3082 fixup manylinux reference in release script
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-13 16:27:58 -08:00
Nikolaj Bjorner 234ff28d18 prepare release script
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-13 16:15:27 -08:00
Nikolaj Bjorner 60fef928cc missing code signing
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-13 16:12:48 -08:00
Nikolaj Bjorner 42fbf23a8f update code signing
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-13 14:01:18 -08:00
Nikolaj Bjorner d204413f2a remove update
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-12 17:54:42 -08:00
Nikolaj Bjorner 85abbb8188 include apt-get update for doc build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2023-01-12 16:58:42 -08:00
Nikolaj Bjorner e4bd406675 update version of manylinux 2023-01-12 16:27:33 -08:00
Nikolaj Bjorner 1974c224ab add demodulator simplifier
refactor demodulator-rewriter a bit to separate reusable features.
2022-12-04 09:39:28 -08:00
Nikolaj Bjorner 847aec1d30 update dependencies 2022-11-30 22:48:10 -08:00
Nikolaj Bjorner 7b9dfb8e1e update dependencies for python build 2022-11-30 13:43:40 +07:00
Nikolaj Bjorner 4e9f21c2a1 add rewriter and seq simplifiers 2022-11-25 15:16:14 +07:00
Nikolaj Bjorner 203652da74 add converters module to python build 2022-11-03 05:26:06 -07:00
Nikolaj Bjorner e57674490f adding simplifiers layer
simplifiers layer is a common substrate for global non-incremental and incremental processing.
The first two layers are new, but others are to be ported form tactics.

- bv::slice - rewrites equations to cut-dice-slice bit-vector extractions until they align. It creates opportunities for rewriting portions of bit-vectors to common sub-expressions, including values.
- euf::completion - generalizes the KB simplifcation from asserted formulas to use the E-graph to establish a global and order-independent canonization.

The interface dependent_expr_simplifier is amenable to forming tactics. Plugins for asserted-formulas is also possible but not yet realized.
2022-11-02 08:51:30 -07:00
Nikolaj Bjorner a90c4f65cf increment version per release notes
incrementing minor version because the API has a new function.
This breaks log replay against old dlls and inclusion against z3++.h.
2022-10-19 13:21:26 -07:00
Nikolaj Bjorner 07dd1065db added API to monitor clause inferences
See RELEASE_NOTES for more information
examples pending.
2022-10-19 08:34:55 -07:00
Nikolaj Bjorner ea55f69a92 fix python build 2022-10-16 23:42:11 +02:00
Nikolaj Bjorner 6eb2d2acfa update dependencies for build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-09-28 11:25:36 -07:00
Nikolaj Bjorner ff679e0fce increment version number 2022-09-11 19:02:44 -07:00
Thomas Pani adf6e98cdf
Handle _out(STRING) parameters in Java API (#6325) 2022-09-06 15:29:12 -07:00
Nikolaj Bjorner 8e6f17ebd0 inc version
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-09-03 15:47:12 -07:00
John Fleisher f72cdda5fb
Change to 4 digit assembly version (#6297)
* WiP: test build specific version number

* update mk_win_dist for assembly-version

* Add print statements for version

* remove stray semicolon

* undo quote change in projectstr

* nit fixes

* revert print formatting for Mac build

* fix spaces
2022-08-31 06:46:06 -07:00
Nikolaj Bjorner 4d29925c3f build fixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-08-28 18:43:50 -07:00
Nikolaj Bjorner ce1f3987d9 fix unsoundness in quantifier propagation #6116 and add initial lemma logging 2022-08-23 19:10:01 -07:00
Nuno Lopes d5d77dfe64 minor code simplifications 2022-08-20 12:56:45 +01:00
Nikolaj Bjorner 514eaf33aa Merge branch 'master' of https://github.com/z3prover/z3 2022-08-18 19:07:55 -07:00
Nikolaj Bjorner 600b4491aa don't forget parameter documentation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-08-18 19:07:39 -07:00
Nikolaj Bjorner 540e36e6cb roll version number
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-08-18 15:47:08 -07:00
John Fleisher b3f4d3fdc7
Publish Z3 symbols (#6280)
* WiP: publish symbols for package

* set debugtype to full

* fix internal nuget feed publishing

* Try pipeline github authorization

* Update github service connection

* WiP: try symbol publish in build

* try Z3Prover for GitHub connection

* WiP: collect symbols

* revert symbol type to pdbonly (only portable is not supported for publishing)

* Publish symbols in nightly and release

* Revert this: comment out publish to test release build pipe

* restore publishing

* Turn of index sources to eliminate warning that it is not supported for Github

Co-authored-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-08-17 07:30:55 -07:00
Nikolaj Bjorner 45a4b810de fixup github connection
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-08-16 15:12:05 -07:00
Nikolaj Bjorner 21033790be add parameter documentation to nightly 2022-08-16 15:07:19 -07:00
jofleish 88b3e0c944 Update github service connection 2022-08-15 12:24:25 -07:00
jofleish 88f4664c65 Standardize ubutu-latest vmImage 2022-08-15 07:55:45 -07:00
Nikolaj Bjorner 78eaefe5a8 move solver-params to params 2022-08-08 11:34:41 +03:00
Bruce Mitchener a3161bdc15 update_api.py: Remove usage of MKException.
This wasn't working as it was being accessed from a function object
rather than the module.

Instead, let's just print the error and exit.
2022-08-04 07:54:42 +03:00
Bruce Mitchener ad4c786ea4 mk_unix_dist.py: Fix --nopython
Writing to the global PYTHON_ENABLED requires that it be flagged
as a global.
2022-08-04 07:54:10 +03:00
Bruce Mitchener dc75031a36 Remove all per-OS defines apart from _WINDOWS.
These are all unused and shouldn't be needed. Mostly we need
something for differentiating between POSIX and non-POSIX
(until we can reduce some of those differences as well).

We shouldn't need to modify the build system to build on a new
OS if it is basically a Unix and is supported by cmake.
2022-08-03 19:03:04 +03:00
Nikolaj Bjorner 774ce3d7ab create special case for osx arm
shortcut when store/select are distinct

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-08-03 07:56:02 +03:00
Bruce Mitchener 9a99c78ffb Enable thread_local code more broadly.
This was only being enabled on Windows, Linux, and FreeBSD. (FreeBSD
only had it enabled in the legacy build system, not in cmake.)

`thread_local` is part of C++11, so now that we require C++17
or later and more recent compilers, this should work everywhere
that threading does, so only disable it within a `SINGLE_THREAD`
build.
2022-08-02 09:24:51 +03:00
Nikolaj Bjorner a6fe260354 update minor versin number to ABI change to remove Z3_bool from z3_api.h
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-30 06:31:22 +02:00
Nikolaj Bjorner 591d485358 update versions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-30 05:26:43 +02:00
Nikolaj Bjorner a2d44194a4 Update release.yml for Azure Pipelines
set credential to key at nuget.org
2022-07-30 05:20:33 +02:00
Nikolaj Bjorner 69b1337ca6 inc release number
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-29 23:31:26 +02:00
Nikolaj Bjorner cd7ef11593 add decide callbacks to propagator API
this is an intermediary state. The decide_eh is only partially implemented.
2022-07-27 04:28:41 +02:00
Nikolaj Bjorner 3a8eb1e7ec increase version number
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-22 12:43:19 -07:00
Nikolaj Bjorner 845e852dba increment to include python fixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-22 11:44:32 -07:00
Nikolaj Bjorner c6dad4a9ea Update release.yml for Azure Pipelines
Enable pypi publishing for 4.10 wheels
2022-07-22 10:01:49 -07:00
Nikolaj Bjorner 9cd3b9cad7 Merge branch 'master' of https://github.com/z3prover/z3 2022-07-21 20:28:02 -07:00
Nikolaj Bjorner adcb3e8f86 set version number
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-21 20:27:50 -07:00
Nikolaj Bjorner 59d47e3055 don't publish pypi yet
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-21 14:43:49 -07:00
Nikolaj Bjorner 7ded856bb1 script to test jsdoc
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-18 09:51:34 -07:00
Nikolaj Bjorner b743e210f8 give java dynamic lib a chance for extra flags for #5848 2022-07-15 08:44:05 -07:00
Nikolaj Bjorner faf6c02cf8 remove --js from nightly and release doc builds as the npm run 'check-engine' fails
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-12 07:46:06 -07:00
Nikolaj Bjorner 4dc88f0993 add --js to nightly and release scripts, nb @ritave
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-11 20:37:50 -07:00
Stefan Muenzel 99212a2726
Use int64 for ocaml api functions that require it (#6150)
* Use int64 for ocaml api functions that require it

Signed-off-by: Stefan Muenzel <source@s.muenzel.net>

* Use elif

Signed-off-by: Stefan Muenzel <source@s.muenzel.net>
2022-07-11 09:25:05 -07:00
Nikolaj Bjorner 9d9414c111 inc version number 2022-07-06 14:00:40 -07:00
Nikolaj Bjorner cc841caf08 increment minor version for dev branch
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-06 10:15:34 -07:00
Nikolaj Bjorner 2ae84f88df Update release.yml for Azure Pipelines 2022-07-06 09:10:16 -07:00
Nikolaj Bjorner 15391fc9b9 remove musll from release.yml
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-06 07:37:51 -07:00
Nikolaj Bjorner f1b7ab3d3f x64
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-06 01:53:26 -07:00
Nikolaj Bjorner 7f2ebf84a2 Remove package sub-directory from release script 2022-07-06 01:09:11 -07:00
Nikolaj Bjorner bda86726af macarm
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-05 20:02:27 -07:00
Nikolaj Bjorner 4f62336fa8 download arm64
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-05 18:23:32 -07:00
Nikolaj Bjorner 593d5be202 bind variables
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-05 17:21:59 -07:00
Nikolaj Bjorner 8b35b7becc bind variables
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-05 17:20:21 -07:00
Nikolaj Bjorner 594b5daa9d remove download of mullinux
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-05 17:18:04 -07:00
Nikolaj Bjorner 3ce6663536 update release script
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-05 17:17:07 -07:00
Nikolaj Bjorner 73f35e067c Update release.yml for Azure Pipelines
pre-release
2022-07-05 17:13:55 -07:00
Nikolaj Bjorner 282c786f1c setting version to release
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-07-05 11:51:12 -07:00
Nikolaj Bjorner e6e0c74324
Update update_api.py
fix typo
2022-07-02 13:17:14 -07:00
Nikolaj Bjorner c35d0d1e49
Update update_api.py
add automation!
2022-07-02 13:05:35 -07:00
Nikolaj Bjorner 5ba8231d07 make it work with old pythons
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-06-21 09:10:38 -07:00
Nikolaj Bjorner b254f4086b Separate out native static content for Java
Make it easier to add native methods for callbacks (for user propagator) #6097

The Java User propagator wrapper should define a base class with virtual methods that can be invoked from functions defined in NativeStatic.txt
2022-06-21 09:09:42 -07:00
Clemens Eisenhofer 2fa60aa43c
Added function to select the next variable to split on (User-Propagator) (#6096)
* Added function to select the next variable to split on

* Fixed typo

* Small fixes

* uint -> int
2022-06-19 10:49:25 -07:00
Nuno Lopes 73a24ca0a9 remove '#include <iostream>' from headers and from unneeded places
It's harmful to have iostream everywhere as it injects functions in the compiled files
2022-06-17 14:10:19 +01:00
Olaf Tomalka 7fdcbbaee9
Add high level bindings for js (#6048)
* [Draft] Added unfinished code for high level bindings for js

* * Rewrote structure of js api files
* Added more high level apis

* Minor fixes

* Fixed wasm github action

* Fix JS test

* Removed ContextOptions type

* * Added Ints to JS Api
* Added tests to JS Api

* Added run-time checks for contexts

* Removed default contexts

* Merged Context and createContext so that the api behaves the sames as in other constructors

* Added a test for Solver

* Added Reals

* Added classes for IntVals and RealVals

* Added abillity to specify logic for solver

* Try to make CI tests not fail

* Changed APIs after a round of review

* Fix test

* Added BitVectors

* Made sort into getter

* Added initial JS docs

* Added more coercible types

* Removed done TODOs
2022-06-14 09:55:58 -07:00
Nikolaj Bjorner 93a0322cac update distribution scripts 2022-06-02 11:48:12 -07:00
Nikolaj Bjorner 366860be46 change to osx-11.0
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-06-02 07:21:48 -07:00
Nikolaj Bjorner c7560e1394 change to osx-11.0
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-06-02 07:20:28 -07:00
Nikolaj Bjorner 4191d84e58 change to 11.0
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-06-02 07:12:45 -07:00
Nikolaj Bjorner 0b17a568ee fixes to script
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-06-02 06:59:59 -07:00
Nikolaj Bjorner 9190f22eb4 os
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-06-01 21:23:44 -07:00
Nikolaj Bjorner 6396cfd6e7 os
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-06-01 21:20:19 -07:00
Nikolaj Bjorner 9ed7fd9454 Update nightly.yaml for Azure Pipelines 2022-06-01 19:17:27 -07:00
Nikolaj Bjorner aa8e89c5f3 try macos12 for arm64
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-06-01 19:11:17 -07:00
Nikolaj Bjorner bffa7ff2f6 add hint verification, combine bounds/farkas into one rule
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-29 10:12:05 -07:00
Nikolaj Bjorner 36ad377a7d na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-29 09:21:43 -07:00
Nikolaj Bjorner 9ec34d96ce comment out muslinux build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-28 18:14:42 -07:00
Nikolaj Bjorner 6abea2de2c fix nightly, fix regression identified by Nuno
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-28 18:03:15 -07:00
Nikolaj Bjorner ddc3445707 try to add back musllinux
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-28 14:47:39 -07:00
Nikolaj Bjorner 35db0ae58b workaround manylinux build failure (it is advertized as a compiler bug)
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-28 14:34:58 -07:00
Nikolaj Bjorner d09d37cb10 wt$
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-28 14:27:22 -07:00
Nikolaj Bjorner 6b4bc5bd38 remove broken matrix
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-28 14:26:00 -07:00
Nikolaj Bjorner e9660016bc remove hardwired image name
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-28 14:21:23 -07:00
Nikolaj Bjorner 6ce03cd6f0 Update nightly.yaml for Azure Pipelines 2022-05-28 14:18:50 -07:00
Nikolaj Bjorner 0038817656 Update nightly.yaml for Azure Pipelines 2022-05-28 14:13:50 -07:00
Nikolaj Bjorner 48701826f1 indent
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-28 13:57:03 -07:00
Nikolaj Bjorner 363b69f588 fix #6034 2022-05-16 16:44:13 -07:00
Nikolaj Bjorner f6b2874d7c update to take effect of def_API for callback functions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-16 10:30:54 -07:00
Gleb Popov 6f7be77e2b
Buildsystem fixes for FreeBSD. (#6029)
* Enable thread-local storage on FreeBSD.

* Pass -soname linker flag on FreeBSD.
2022-05-12 10:54:57 -07:00
John Jones 361888f299
Generate bdist wheels for musllinux_1_1 (#6025) 2022-05-09 14:13:08 -07:00
Nikolaj Bjorner 8218f25222 add decide callback
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-08 15:30:03 -07:00
Nikolaj Bjorner 3b441137c0 ocaml build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-08 11:01:23 -07:00
Nikolaj Bjorner d58de2f8e4 java build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-08 10:20:32 -07:00
Nikolaj Bjorner a71ce54c34 freeze functions with callbacks for ocaml
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-08 10:04:50 -07:00
Nikolaj Bjorner cf4149d53e freeze functions with callbacks for ocaml
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-08 10:02:41 -07:00
Nikolaj Bjorner 1ab7be67d0 java build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-08 09:58:43 -07:00
Nikolaj Bjorner a3b066f0b4 ml: VOIDP -> ptr
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-07 12:49:05 -07:00
Nikolaj Bjorner b633947762 don't log function pointers
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-07 12:41:51 -07:00
Nikolaj Bjorner 6d40e6f401 java
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-07 11:24:46 -07:00
Nikolaj Bjorner 14214c5a07 exposing user propagators over .Net
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-07 11:08:40 -07:00
Nikolaj Bjorner 3ae781039b inc version number
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-05 07:09:54 -07:00
Nikolaj Bjorner d420706eae enable pypi release
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-04 17:16:30 -07:00
Nikolaj Bjorner 47459ca795 pre-release
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-04 12:04:51 -07:00
Nikolaj Bjorner 0b453a4af5 set release version 2022-04-25 08:57:32 +01:00