Skip to content
Snippets Groups Projects
Commit 0ee486d0 authored by Erwan Jahier's avatar Erwan Jahier
Browse files

-2cw7 : fix the call to owcet that was wrong when -o was not used.

parent 72d53b49
No related branches found
No related tags found
No related merge requests found
(* Time-stamp: <modified the 24/03/2015 (at 09:41) by Erwan Jahier> *)
(* Time-stamp: <modified the 24/03/2015 (at 10:05) by Erwan Jahier> *)
(* let put (os: out_channel) (fmt:('a, unit, string, unit) format4) : 'a = *)
......@@ -413,6 +413,7 @@ int main(){" ^ (
"
);
);
Printf.printf "%s has been generated.\n" mainfile; flush stdout;
close_out oc
......@@ -720,7 +721,7 @@ typedef float _float;
else
Printf.sprintf "%s -o %s %s %s" gcc execfile cfile main_file
in
let main_step = base^"_"^args.Lv6MainArgs.main_node^"_step" in
let main_step = (string_of_soc_key msoc)^"_step" in
let gcc = if args.Lv6MainArgs.gen_wcet then
(gcc ^ " > owcet.out; owcet.arm "^execfile^ " --add-prop otawa::ilp::OUTPUT_PATH="^
main_step^".0.lp "^main_step^" 2>&1 | grep WCET")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment