From f4559a703f16d98c9142bba6c51bc9d85ad684ec Mon Sep 17 00:00:00 2001 From: Ayaz Akram Date: Wed, 14 Jun 2023 11:03:33 -0700 Subject: [PATCH] configs: Fix SPEC benchmarks example scripts This small change fixes the gem5_library example scripts for SPEC benchmarks to make them compatible with the latest version of the std library. Change-Id: I3da9745f0ee6b253871e32082e135e0fa4040108 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/71718 Maintainer: Jason Lowe-Power Tested-by: kokoro Reviewed-by: Jason Lowe-Power --- configs/example/gem5_library/x86-spec-cpu2006-benchmarks.py | 2 +- configs/example/gem5_library/x86-spec-cpu2017-benchmarks.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/example/gem5_library/x86-spec-cpu2006-benchmarks.py b/configs/example/gem5_library/x86-spec-cpu2006-benchmarks.py index 60d93ebe77..10d5da0adb 100644 --- a/configs/example/gem5_library/x86-spec-cpu2006-benchmarks.py +++ b/configs/example/gem5_library/x86-spec-cpu2006-benchmarks.py @@ -262,7 +262,7 @@ board.set_kernel_disk_workload( kernel=Resource("x86-linux-kernel-4.19.83"), # The location of the x86 SPEC CPU 2017 image disk_image=CustomDiskImageResource( - args.image, disk_root_partition=args.partition + args.image, root_partition=args.partition ), readfile_contents=command, ) diff --git a/configs/example/gem5_library/x86-spec-cpu2017-benchmarks.py b/configs/example/gem5_library/x86-spec-cpu2017-benchmarks.py index c491c9bce9..cb5f5d19e3 100644 --- a/configs/example/gem5_library/x86-spec-cpu2017-benchmarks.py +++ b/configs/example/gem5_library/x86-spec-cpu2017-benchmarks.py @@ -278,7 +278,7 @@ board.set_kernel_disk_workload( kernel=Resource("x86-linux-kernel-4.19.83"), # The location of the x86 SPEC CPU 2017 image disk_image=CustomDiskImageResource( - args.image, disk_root_partition=args.partition + args.image, root_partition=args.partition ), readfile_contents=command, )