GEM5 aarch64

This commit is contained in:
Ciro Santilli
2018-02-22 18:50:27 +00:00
parent 5a1d5ba7a9
commit 4a9469d83c
5 changed files with 2854 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ if [ "$arch" = x86_64 ]; then
# This file must always be present, despite --kernel overriding that default and selecting the kernel.
# I'm not even joking. No one has ever built x86 gem5 without the magic dist dir present.
touch "${binaries_dir}/x86_64-vmlinux-2.6.22.9"
elif [ "$arch" = arm ]; 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.
CC=gcc-6 CXX=g++-6 scons -j"$(nproc)" --ignore-style build/ARM/gem5.opt