gem5-dev@gem5.org

The gem5 Developer List

View all threads

[XS] Change in gem5/gem5[develop]: configs: Fix SPEC benchmarks example scripts

JL
Jason Lowe-Power (Gerrit)
Wed, Jun 14, 2023 6:14 PM

Jason Lowe-Power has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/71738?usp=email )

Change subject: configs: Fix SPEC benchmarks example scripts
......................................................................

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

M configs/example/gem5_library/x86-spec-cpu2006-benchmarks.py
M configs/example/gem5_library/x86-spec-cpu2017-benchmarks.py
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 60d93eb..10d5da0 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 @@
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 c491c9b..cb5f5d1 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 @@
    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,
    
    )

--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/71738?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I3da9745f0ee6b253871e32082e135e0fa4040108
Gerrit-Change-Number: 71738
Gerrit-PatchSet: 1
Gerrit-Owner: Jason Lowe-Power power.jg@gmail.com
Gerrit-CC: Ayaz Akram yazakram@ucdavis.edu

Jason Lowe-Power has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/71738?usp=email ) Change subject: configs: Fix SPEC benchmarks example scripts ...................................................................... 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 --- M configs/example/gem5_library/x86-spec-cpu2006-benchmarks.py M configs/example/gem5_library/x86-spec-cpu2017-benchmarks.py 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 60d93eb..10d5da0 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 @@ 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 c491c9b..cb5f5d1 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 @@ 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, ) -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/71738?usp=email To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: public/gem5 Gerrit-Branch: develop Gerrit-Change-Id: I3da9745f0ee6b253871e32082e135e0fa4040108 Gerrit-Change-Number: 71738 Gerrit-PatchSet: 1 Gerrit-Owner: Jason Lowe-Power <power.jg@gmail.com> Gerrit-CC: Ayaz Akram <yazakram@ucdavis.edu>