mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
old_params ==> front_end_params. Isolated abstract solver interface
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
62cc752fb6
commit
4c98b567e1
60 changed files with 491 additions and 295 deletions
|
@ -24,12 +24,12 @@ def init_project_def():
|
|||
add_lib('parser_util', ['ast'], 'parsers/util')
|
||||
add_lib('grobner', ['ast'], 'math/grobner')
|
||||
add_lib('euclid', ['util'], 'math/euclid')
|
||||
# Old (non-modular) parameter framework. It has been subsumed by util\params.h.
|
||||
# However, it is still used by many old components.
|
||||
add_lib('old_params', ['ast'])
|
||||
# Front-end-params module still contain a lot of parameters for smt solver component.
|
||||
# This should be fixed
|
||||
add_lib('front_end_params', ['ast'])
|
||||
# Simplifier module will be deleted in the future.
|
||||
# It has been replaced with rewriter module.
|
||||
add_lib('simplifier', ['rewriter', 'old_params'], 'ast/simplifier')
|
||||
add_lib('simplifier', ['rewriter', 'front_end_params'], 'ast/simplifier')
|
||||
add_lib('normal_forms', ['rewriter', 'simplifier'], 'ast/normal_forms')
|
||||
add_lib('core_tactics', ['tactic', 'normal_forms'], 'tactic/core')
|
||||
add_lib('sat_tactic', ['tactic', 'sat'], 'sat/tactic')
|
||||
|
@ -37,14 +37,15 @@ def init_project_def():
|
|||
add_lib('nlsat_tactic', ['nlsat', 'sat_tactic', 'arith_tactics'], 'nlsat/tactic')
|
||||
add_lib('subpaving_tactic', ['core_tactics', 'subpaving'], 'math/subpaving/tactic')
|
||||
add_lib('aig_tactic', ['tactic'], 'tactic/aig')
|
||||
add_lib('cmd_context', ['tactic', 'rewriter', 'model', 'old_params'])
|
||||
add_lib('solver', ['model', 'tactic', 'front_end_params'])
|
||||
add_lib('cmd_context', ['solver', 'rewriter'])
|
||||
add_lib('extra_cmds', ['cmd_context', 'subpaving_tactic', 'arith_tactics'], 'cmd_context/extra_cmds')
|
||||
add_lib('smt2parser', ['cmd_context', 'parser_util'], 'parsers/smt2')
|
||||
add_lib('pattern', ['normal_forms', 'smt2parser'], 'ast/pattern')
|
||||
add_lib('macros', ['simplifier', 'old_params'], 'ast/macros')
|
||||
add_lib('proof_checker', ['rewriter', 'old_params'], 'ast/proof_checker')
|
||||
add_lib('bit_blaster', ['rewriter', 'simplifier', 'old_params'], 'ast/rewriter/bit_blaster')
|
||||
add_lib('proto_model', ['model', 'simplifier', 'old_params'], 'smt/proto_model')
|
||||
add_lib('macros', ['simplifier', 'front_end_params'], 'ast/macros')
|
||||
add_lib('proof_checker', ['rewriter', 'front_end_params'], 'ast/proof_checker')
|
||||
add_lib('bit_blaster', ['rewriter', 'simplifier', 'front_end_params'], 'ast/rewriter/bit_blaster')
|
||||
add_lib('proto_model', ['model', 'simplifier', 'front_end_params'], 'smt/proto_model')
|
||||
add_lib('smt', ['bit_blaster', 'macros', 'normal_forms', 'cmd_context', 'proto_model',
|
||||
'substitution', 'grobner', 'euclid', 'proof_checker', 'pattern', 'parser_util'])
|
||||
add_lib('user_plugin', ['smt'], 'smt/user_plugin')
|
||||
|
|
|
@ -1086,7 +1086,8 @@ def mk_def_files():
|
|||
|
||||
def cp_z3pyc_to_build():
|
||||
mk_dir(BUILD_DIR)
|
||||
compileall.compile_dir(Z3PY_SRC_DIR, force=1)
|
||||
if compileall.compile_dir(Z3PY_SRC_DIR, force=1) != 1:
|
||||
raise MKException("failed to compile Z3Py sources")
|
||||
for pyc in filter(lambda f: f.endswith('.pyc'), os.listdir(Z3PY_SRC_DIR)):
|
||||
try:
|
||||
os.remove('%s/%s' % (BUILD_DIR, pyc))
|
||||
|
|
|
@ -670,6 +670,11 @@ mk_py_wrappers()
|
|||
mk_dotnet()
|
||||
mk_dotnet_wrappers()
|
||||
|
||||
log_h.close()
|
||||
log_c.close()
|
||||
exe_c.close()
|
||||
core_py.close()
|
||||
|
||||
if is_verbose():
|
||||
print "Generated '%s'" % ('%s/api_log_macros.h' % api_dir)
|
||||
print "Generated '%s'" % ('%s/api_log_macros.cpp' % api_dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue