@@ -163,7 +163,9 @@ smt2_dect::solvert solver_factoryt::get_smt2_solver_type() const
163163
164164 smt2_dect::solvert s = smt2_dect::solvert::GENERIC;
165165
166- if (options.get_bool_option (" boolector" ))
166+ if (options.get_bool_option (" bitwuzla" ))
167+ s = smt2_dect::solvert::BITWUZLA;
168+ else if (options.get_bool_option (" boolector" ))
167169 s = smt2_dect::solvert::BOOLECTOR;
168170 else if (options.get_bool_option (" cprover-smt2" ))
169171 s = smt2_dect::solvert::CPROVER_SMT2;
@@ -173,6 +175,8 @@ smt2_dect::solvert solver_factoryt::get_smt2_solver_type() const
173175 s = smt2_dect::solvert::CVC3;
174176 else if (options.get_bool_option (" cvc4" ))
175177 s = smt2_dect::solvert::CVC4;
178+ else if (options.get_bool_option (" cvc5" ))
179+ s = smt2_dect::solvert::CVC5;
176180 else if (options.get_bool_option (" yices" ))
177181 s = smt2_dect::solvert::YICES;
178182 else if (options.get_bool_option (" z3" ))
@@ -525,6 +529,12 @@ static void parse_smt2_options(const cmdlinet &cmdline, optionst &options)
525529
526530 bool solver_set = false ;
527531
532+ if (cmdline.isset (" bitwuzla" ))
533+ {
534+ options.set_option (" bitwuzla" , true ), solver_set = true ;
535+ options.set_option (" smt2" , true );
536+ }
537+
528538 if (cmdline.isset (" boolector" ))
529539 {
530540 options.set_option (" boolector" , true ), solver_set = true ;
@@ -549,6 +559,12 @@ static void parse_smt2_options(const cmdlinet &cmdline, optionst &options)
549559 options.set_option (" smt2" , true );
550560 }
551561
562+ if (cmdline.isset (" cvc5" ))
563+ {
564+ options.set_option (" cvc5" , true ), solver_set = true ;
565+ options.set_option (" smt2" , true );
566+ }
567+
552568 if (cmdline.isset (" incremental-smt2-solver" ))
553569 {
554570 options.set_option (
0 commit comments