Skip to content

Commit

Permalink
tools: copy dump files when build benchmark
Browse files Browse the repository at this point in the history
Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Aug 3, 2022
1 parent 028fd08 commit 6be8e7a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions tools/scripts/misc/build_benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ function do_bench {
make $parallel info showflags dasm > $bench_rstloc/build.log 2>&1
if [ $? == 0 ] && [[ "x$bench_rstloc" != "x" ]] ; then
cp -f $bench.verilog $bench_rstloc
cp -f $bench.dump $bench_rstloc
cp -f $bench.elf $bench_rstloc
fi
fi
Expand Down
2 changes: 1 addition & 1 deletion tools/scripts/misc/dobench/app.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"timeout": 60
}
},
"build_target": "clean all",
"build_target": "clean dasm",
"build_config": {
"SOC": "demosoc"
},
Expand Down
2 changes: 1 addition & 1 deletion tools/scripts/misc/dobench/dhry.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"timeout": 60
}
},
"build_target": "clean all",
"build_target": "clean dasm",
"build_config": {
"SOC": "demosoc"
},
Expand Down

0 comments on commit 6be8e7a

Please sign in to comment.