gem5: track build and run variants separately with -M and -N

Otherwise, checking out branches is too insane, as it does not
update the worktrees, even though the gem5/gem5 module was updated.

gem5: expose build types, document debug builds.

simultaneous runs: store stdout and stderr on a file to allow running
all from a single terminal on the background cleanly.
This commit is contained in:
Ciro Santilli
2018-06-27 15:18:13 +01:00
parent 71e927e63b
commit 1721f184d6
10 changed files with 123 additions and 35 deletions

View File

@@ -68,7 +68,7 @@ if "$generate_checkpoints"; then
# Create the checkpoints after the kernel boot.
rm -rf "${common_m5out_dir}"/cpt.*;
printf 'm5 exit' > "${readfile_file}"
cpt_cmd="-E 'm5 checkpoint;m5 readfile > a.sh;sh a.sh'"
cpt_cmd="-E '/gem5.sh'"
# 1
./eeval "$cmd $cpt_cmd"
# RESTORE_INVESTIGATION