File tree 4 files changed +9
-9
lines changed
4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 21
21
dune-site
22
22
( ocaml-inifiles ( >= 1 .2) )
23
23
( pcre ( >= 7 ) )
24
- ( why3 ( and ( >= 1 .7 .0) ( < 1 .8 ) ) )
24
+ ( why3 ( and ( >= 1 .8 .0) ( < 1 .9 ) ) )
25
25
yojson
26
26
( zarith ( >= 1 .10) )
27
27
) )
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ depends: [
9
9
"dune-site"
10
10
"ocaml-inifiles" {>= "1.2"}
11
11
"pcre" {>= "7"}
12
- "why3" {>= "1.7 .0" & < "1.8 "}
12
+ "why3" {>= "1.8 .0" & < "1.9 "}
13
13
"yojson"
14
14
"zarith" {>= "1.10"}
15
15
"odoc" {with-doc}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ let run_batch ~(script : string) ~(coqenv : coqenv) (task : WTask.task) =
37
37
let config = Why3.Whyconf. get_main coqenv.config in
38
38
let config_mem = Why3.Whyconf. memlimit config in
39
39
let config_time = Why3.Whyconf. timelimit config in
40
- let limit =
40
+ let limits =
41
41
Why3.Call_provers. {
42
42
limit_time = config_time;
43
43
limit_steps = 0 ;
@@ -50,7 +50,7 @@ let run_batch ~(script : string) ~(coqenv : coqenv) (task : WTask.task) =
50
50
let call =
51
51
Why3.Driver. prove_task_prepared
52
52
~old: script ~inplace: true
53
- ~command ~limit ~config coqenv.driver task
53
+ ~command ~limits ~config coqenv.driver task
54
54
in call_prover_task ~coqenv call
55
55
56
56
(* -------------------------------------------------------------------- *)
Original file line number Diff line number Diff line change @@ -513,17 +513,17 @@ let run_prover
513
513
let pc =
514
514
let command = pr.Whyconf. command in
515
515
516
- let limit = { Call_provers. empty_limit with
516
+ let limits = { Call_provers. empty_limits with
517
517
Call_provers. limit_time =
518
- let limit = pi.pr_timelimit * pi.pr_cpufactor in
519
- if limit < = 0 then 0. else float_of_int limit ;
518
+ let limits = pi.pr_timelimit * pi.pr_cpufactor in
519
+ if limits < = 0 then 0. else float_of_int limits ;
520
520
} in
521
521
522
522
let rec doit gcdone =
523
523
try
524
524
Driver. prove_task
525
525
~config: (Config. main () )
526
- ~command ~limit dr task
526
+ ~command ~limits dr task
527
527
with Unix. Unix_error (Unix. ENOMEM, "fork" , _ ) when not gcdone ->
528
528
Gc. compact () ; doit true
529
529
in
@@ -618,7 +618,7 @@ let execute_task ?(notify : notify option) (pi : prover_infos) task =
618
618
let fmt = Format. formatter_of_buffer buf in
619
619
Format. fprintf fmt " prover %s disproved this goal." prover;
620
620
Buffer. contents buf)));
621
- | (CP. Failure _ | CP. HighFailure ) as answer ->
621
+ | (CP. Failure _ | CP. HighFailure _ ) as answer ->
622
622
notify |> oiter (fun notify -> notify `Warning (lazy (
623
623
let buf = Buffer. create 0 in
624
624
let fmt = Format. formatter_of_buffer buf in
You can’t perform that action at this time.
0 commit comments