3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-13 16:06:39 +00:00
Commit graph

25 commits

Author SHA1 Message Date
Dan Liew
6f48a145aa [CMake] Fix dependencies for generating gparams_register_modules.cpp.
Previously CMake was not aware of which headers files the generation
of `gparams_register_modules.cpp` depended on. Consequently this could result
in broken incremental builds if

* Existing headers that declared module description/parameters change.
* New headers are added that declare module description/parameters.
* `.pyg` files that generate header files that declare module
  description/parameters change

Now the `z3_add_component()` CMake function has been modifed so that

* All header files that are generated from `.pyg` files are added as
dependencies and are scanned from module description/parameter
declarations. This implicit dependency of `gparams_register_modules.cpp`
depending on other generated header files seems unnecessary complex. We
should revisit this design decision once the Python/Makefile build
system is deprecated.

* The function now takes an optional `EXTRA_REGISTER_MODULE_HEADERS`
argument which allows the headers that declare module
description/paramters to be explicitly listed.

With this information CMake will now regenerate `gparams_register_modules.cpp`
correctly.

This required the `mk_gparams_register_modules_internal()` function to be
changed to take a list of header files rather than a list of component
source directories. The two consumers (CMake and Python/Makefile build
systems) of this function have been modified to work with this change.

This partially fixes #1030.
2017-06-21 23:56:46 +01:00
Dan Liew
4b517b96df [CMake] Move CMake files into their intended location so the
`contrib/cmake/bootstrap.py` script no longer needs to be executed.

The previous location of the CMake files was a compromise proposed
by @agurfinkel in #461. While this has served us well (allowing progress
to be made) over time limitations of this approach have appeared.

The main problem is that doing many git operations (e.g. pull, rebase)
means the CMake files don't get updated unless the user remembers to
run the script. This can lead to broken and confusing build system
behaviour.

This commit only does the file moving and necessary changes to
`.gitignore`. Other changes will be done in subsequent commits.
2017-06-12 11:59:00 +01:00
Christoph M. Wintersteiger
27a1758857 Added rewriter.ignore_patterns_on_ground_qbody option to disable simplification of quantifiers that have their universals appear only in patterns, but otherwise have a ground body. 2017-04-07 21:19:20 +01:00
Fabian Wolff
6eaab00e83 Fix spelling errors 2016-07-09 11:46:43 +02:00
Nikolaj Bjorner
5b497b6249 reduce set of mainly verbose warnings raised by -Wmaybe-uninitialized and unused variable warnings from release mode builds
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-22 20:25:47 -07:00
Nikolaj Bjorner
5250c3b9ed ensure reference ownership on frame elements to avoid crashes due to nnf. Issue #588
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-16 09:37:15 -07:00
Nikolaj Bjorner
a7e2fb31e3 updates to resource exceptions, update master possibly handle pull request issue
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-12 11:36:49 -08:00
Nikolaj Bjorner
baee4225a7 reworking cancellation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-11 16:21:24 -08:00
Nikolaj Bjorner
981f8226fe moving to resource managed cancellation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-11 13:36:47 -08:00
Nikolaj Bjorner
85b9bb3cc6 seq
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-11 08:37:47 -08:00
Nikolaj Bjorner
4bc044c982 update header guards to be C++ style. Fixes issue #9
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-08 23:18:40 -07:00
Leonardo de Moura
fbce816025 Merge branch 'unstable' into contrib 2012-12-22 14:36:30 -08:00
Leonardo de Moura
e0f4d870fd Removed auxiliary constants created by the nnf tactic from Z3 models. Fixed model.compact parameter propagation problem.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-12-13 14:03:58 -08:00
Leonardo de Moura
5b6842fbc5 cleaning defined_names
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-12-13 12:37:03 -08:00
Leonardo de Moura
9ab1210cc2 merged
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-12-06 11:05:49 -08:00
Leonardo de Moura
fa53b1eb92 added module descriptions
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-12-02 13:15:56 -08:00
Leonardo de Moura
be5f933201 removed dead module
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-11-30 18:20:07 -08:00
Leonardo de Moura
6195ed7c66 checkpoint
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-11-30 18:16:02 -08:00
Leonardo de Moura
cf28cbab0a saved params work
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-11-29 17:19:12 -08:00
Nuno Lopes
5af1e4bdf4 remove redudant is_well_sorted checks after var_subst
var_subst already checks for well sortedness of the resulting expression

Signed-off-by: Nuno Lopes <nuno.lopes@ist.utl.pt>
2012-11-22 15:03:11 +00:00
Leonardo de Moura
3711f8e42c replaced simplifier with rewriter at pull_quant.cpp
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-11-17 20:29:09 -08:00
Leonardo de Moura
3e50a65dfc isolating elim_term_ite inside smt module
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-11-17 17:12:30 -08:00
Leonardo de Moura
d8f627c6c8 Fixed warnings produced by gcc 4.6.3 when compiling in debug mode
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-30 23:43:00 -07:00
Leonardo de Moura
f57d4b1b19 reorganizing the code
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-25 11:28:03 -07:00
Leonardo de Moura
12a255e36b reorganizing the code
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-24 14:47:40 -07:00