readme: gem5 tracing.

Fix some parsec readme errors after missed ./run flag updates.
This commit is contained in:
Ciro Santilli
2018-03-29 18:11:51 +01:00
parent b6e8a7d1d1
commit 9afaecec87
4 changed files with 61 additions and 18 deletions

View File

@@ -27,7 +27,7 @@ disks_dir="${system_dir}/disks"
mkdir -p "$binaries_dir" "$disks_dir"
cd "${top}/gem5"
if [ "$arch" = x86_64 ]; then
CC=gcc-6 CXX=g++-6 scons -j"$j" --ignore-style build/X86/gem5.opt
CC=gcc-6 CXX=g++-6 scons -j "$j" --ignore-style build/X86/gem5.opt
f="${disks_dir}/linux-bigswap2.img"
dd if=/dev/zero of="$f" bs=1024 count=65536
mkswap "$f"
@@ -37,7 +37,7 @@ if [ "$arch" = x86_64 ]; then
elif [ "$arch" = arm ] || [ "$arch" = aarch64 ]; then
# Compilation fails with gcc 7 on that commit.
# There were some recent portability patches, so it will likely get there soon.
scons -j"$j" --ignore-style build/ARM/gem5.opt
scons -j "$j" --ignore-style build/ARM/gem5.opt
make -C ./system/arm/dt/
# TODO use the buildroot cross compiler here, and remove the dependencies from configure.
make -C ./system/arm/simple_bootloader/ $cross_compile