mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 02:16:40 +00:00
add dependencies to fix build
This commit is contained in:
parent
e2cf4d99fb
commit
08c4f73e32
3 changed files with 10 additions and 1 deletions
|
@ -82,7 +82,7 @@ def init_project_def():
|
|||
add_lib('smtlogic_tactics', ['ackermannization', 'sat_solver', 'arith_tactics', 'bv_tactics', 'nlsat_tactic', 'smt_tactic', 'aig_tactic', 'fp', 'muz', 'qe'], 'tactic/smtlogics')
|
||||
add_lib('ufbv_tactic', ['normal_forms', 'core_tactics', 'macros', 'smt_tactic', 'rewriter', 'smtlogic_tactics'], 'tactic/ufbv')
|
||||
add_lib('fpa_tactics', ['fpa', 'core_tactics', 'bv_tactics', 'sat_tactic', 'smt_tactic', 'arith_tactics', 'smtlogic_tactics'], 'tactic/fpa')
|
||||
add_lib('portfolio', ['smtlogic_tactics', 'sat_solver', 'ufbv_tactic', 'fpa_tactics', 'aig_tactic', 'fp', 'fd_solver', 'qe', 'sls_tactic', 'subpaving_tactic'], 'tactic/portfolio')
|
||||
add_lib('portfolio', ['simplifiers', 'smtlogic_tactics', 'sat_solver', 'ufbv_tactic', 'fpa_tactics', 'aig_tactic', 'fp', 'fd_solver', 'qe', 'sls_tactic', 'subpaving_tactic'], 'tactic/portfolio')
|
||||
add_lib('opt', ['smt', 'smtlogic_tactics', 'sls_tactic', 'sat_solver'], 'opt')
|
||||
API_files = ['z3_api.h', 'z3_ast_containers.h', 'z3_algebraic.h', 'z3_polynomial.h', 'z3_rcf.h', 'z3_fixedpoint.h', 'z3_optimization.h', 'z3_fpa.h', 'z3_spacer.h']
|
||||
add_lib('extra_cmds', ['cmd_context', 'subpaving_tactic', 'qe', 'euf', 'arith_tactics'], 'cmd_context/extra_cmds')
|
||||
|
|
|
@ -16,6 +16,7 @@ z3_add_component(portfolio
|
|||
subpaving_tactic
|
||||
ufbv_tactic
|
||||
fd_solver
|
||||
simplifiers
|
||||
TACTIC_HEADERS
|
||||
euf_completion_tactic.h
|
||||
default_tactic.h
|
||||
|
|
|
@ -105,11 +105,19 @@ static const tag_info* get_tag_infos() {
|
|||
}
|
||||
|
||||
|
||||
static bool has_overlap(char const* s, char const* t) {
|
||||
if (s[0] == t[0])
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
void enable_trace(const char * tag_str) {
|
||||
TraceTag tag = find_trace_tag_by_string(tag_str);
|
||||
if (tag == TraceTag::Count) {
|
||||
warning_msg("trace tag '%s' does not exist", tag_str);
|
||||
#define X(tag, tag_class, desc) if (has_overlap(#tag, tag_str)) warning_msg("did you mean '%s'?", #tag);
|
||||
#include "util/trace_tags.def"
|
||||
#undef X
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue