|
23 | 23 | (rule
|
24 | 24 | (enabled_if (= %{context_name} "main"))
|
25 | 25 | (targets fail1.output.corrected)
|
26 |
| - (deps fail1.ml) |
| 26 | + (deps (:ml fail1.ml) filter.sh) |
27 | 27 | (action
|
28 | 28 | (with-outputs-to fail1.output.corrected
|
29 | 29 | (pipe-outputs
|
30 | 30 | (with-accepted-exit-codes 2
|
31 |
| - (run %{bin:ocamlopt.opt} %{deps} -color never -error-style short -c -alloc-check -O3)) |
32 |
| - (bash "sed 's/Error: Annotation check for noalloc failed on function .*$/Error: Annotation check for noalloc failed on function HIDE_NAME/'") |
| 31 | + (run %{bin:ocamlopt.opt} %{ml} -color never -error-style short -c -alloc-check -O3)) |
| 32 | + (run "./filter.sh") |
33 | 33 | ))))
|
34 | 34 |
|
35 | 35 | (rule
|
|
41 | 41 | (rule
|
42 | 42 | (enabled_if (= %{context_name} "main"))
|
43 | 43 | (targets fail2.output.corrected)
|
44 |
| - (deps fail2.ml) |
| 44 | + (deps (:ml fail2.ml) filter.sh) |
45 | 45 | (action
|
46 | 46 | (with-outputs-to fail2.output.corrected
|
47 | 47 | (pipe-outputs
|
48 | 48 | (with-accepted-exit-codes 2
|
49 |
| - (run %{bin:ocamlopt.opt} %{deps} -color never -error-style short -c -alloc-check -O3)) |
50 |
| - (bash "sed 's/Error: Annotation check for noalloc failed on function .*$/Error: Annotation check for noalloc failed on function HIDE_NAME/'") |
| 49 | + (run %{bin:ocamlopt.opt} %{ml} -color never -error-style short -c -alloc-check -O3)) |
| 50 | + (run "./filter.sh") |
51 | 51 | ))))
|
52 | 52 |
|
53 | 53 | (rule
|
|
59 | 59 | (rule
|
60 | 60 | (enabled_if (= %{context_name} "main"))
|
61 | 61 | (targets fail3.output.corrected)
|
62 |
| - (deps t3.ml fail3.ml) |
| 62 | + (deps (:ml t3.ml fail3.ml) filter.sh) |
63 | 63 | (action
|
64 | 64 | (with-outputs-to fail3.output.corrected
|
65 | 65 | (pipe-outputs
|
66 | 66 | (with-accepted-exit-codes 2
|
67 |
| - (run %{bin:ocamlopt.opt} %{deps} -color never -error-style short -c -alloc-check -O3)) |
68 |
| - (bash "sed 's/Error: Annotation check for noalloc failed on function .*$/Error: Annotation check for noalloc failed on function HIDE_NAME/'") |
| 67 | + (run %{bin:ocamlopt.opt} %{ml} -color never -error-style short -c -alloc-check -O3)) |
| 68 | + (run "./filter.sh") |
69 | 69 | ))))
|
70 | 70 |
|
71 | 71 | (rule
|
|
78 | 78 | (rule
|
79 | 79 | (enabled_if (= %{context_name} "main"))
|
80 | 80 | (targets fail4.output.corrected)
|
81 |
| - (deps t4.ml fail4.ml) |
| 81 | + (deps (:ml t4.ml fail4.ml) filter.sh) |
82 | 82 | (action
|
83 | 83 | (with-outputs-to fail4.output.corrected
|
84 | 84 | (pipe-outputs
|
85 | 85 | (with-accepted-exit-codes 2
|
86 |
| - (run %{bin:ocamlopt.opt} %{deps} -color never -error-style short -c -alloc-check -O3)) |
87 |
| - (bash "sed 's/Error: Annotation check for noalloc failed on function .*$/Error: Annotation check for noalloc failed on function HIDE_NAME/'") |
| 86 | + (run %{bin:ocamlopt.opt} %{ml} -color never -error-style short -c -alloc-check -O3)) |
| 87 | + (run "./filter.sh") |
88 | 88 | ))))
|
89 | 89 |
|
90 | 90 | (rule
|
|
0 commit comments