gem5-dev@gem5.org

The gem5 Developer List

View all threads

[S] Change in gem5/gem5[develop]: tests: Add DRAMSys compilation and scripts to Weekly tests

DC
Derek C. (Gerrit)
Wed, Mar 29, 2023 8:19 AM

Derek C. has submitted this change. (
https://gem5-review.googlesource.com/c/public/gem5/+/69200?usp=email )

Change subject: tests: Add DRAMSys compilation and scripts to Weekly tests
......................................................................

tests: Add DRAMSys compilation and scripts to Weekly tests

Change-Id: I4353843e4e5f6db6f6d576dec4a34c3d403da1cc
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/69200
Tested-by: kokoro noreply+kokoro@google.com
Reviewed-by: Bobby Bruce bbruce@ucdavis.edu
Maintainer: Bobby Bruce bbruce@ucdavis.edu

M tests/weekly.sh
1 file changed, 36 insertions(+), 0 deletions(-)

Approvals:
Bobby Bruce: Looks good to me, approved; Looks good to me, approved
kokoro: Regressions pass

diff --git a/tests/weekly.sh b/tests/weekly.sh
index d07cc8b..9c7ebdf 100755
--- a/tests/weekly.sh
+++ b/tests/weekly.sh
@@ -398,3 +398,39 @@

delete Pannotia datasets we downloaded and output files it created

rm -f coAuthorsDBLP.graph 1k_128k.gr result.out
+
+# Run tests to ensure the DRAMSys integration is still functioning
correctly.
+if [ -d "${gem5_root}/ext/dramsys/DRAMSys" ]; then

  • rm -r "${gem5_root}/ext/dramsys/DRAMSys"
    +fi

+cd "${gem5_root}/ext/dramsys"
+git clone --recursive git@github.com:tukl-msd/DRAMSys.git DRAMSys
+cd DRAMSys
+git checkout -b gem5 09f6dcbb91351e6ee7cadfc7bc8b29d97625db8f
+cd "${gem5_root}"
+
+rm -rf "${gem5_root}/build/ALL"
+
+docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \

  • "${gem5_root}" --memory="${docker_mem_limit}" --rm \
  • gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
  •   scons build/ALL/gem5.opt -j${threads}
    

+docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \

  • "${gem5_root}" --memory="${docker_mem_limit}" --rm \
  • gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
  •   ./build/ALL/gem5.opt \
    
  •   configs/example/gem5_library/dramsys/arm-hello-dramsys.py
    

+docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \

  • "${gem5_root}" --memory="${docker_mem_limit}" --rm \
  • gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
  •   ./build/ALL/gem5.opt \
    
  •   configs/example/gem5_library/dramsys/dramsys-traffic.py
    

+docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \

  • "${gem5_root}" --memory="${docker_mem_limit}" --rm \
  • gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \
  •   ./build/ALL/gem5.opt \
    
  •   configs/example/dramsys.py
    

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

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I4353843e4e5f6db6f6d576dec4a34c3d403da1cc
Gerrit-Change-Number: 69200
Gerrit-PatchSet: 4
Gerrit-Owner: Bobby Bruce bbruce@ucdavis.edu
Gerrit-Reviewer: Bobby Bruce bbruce@ucdavis.edu
Gerrit-Reviewer: Derek C. christ.derek@gmail.com
Gerrit-Reviewer: kokoro noreply+kokoro@google.com
Gerrit-MessageType: merged

Derek C. has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/69200?usp=email ) Change subject: tests: Add DRAMSys compilation and scripts to Weekly tests ...................................................................... tests: Add DRAMSys compilation and scripts to Weekly tests Change-Id: I4353843e4e5f6db6f6d576dec4a34c3d403da1cc Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/69200 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu> Maintainer: Bobby Bruce <bbruce@ucdavis.edu> --- M tests/weekly.sh 1 file changed, 36 insertions(+), 0 deletions(-) Approvals: Bobby Bruce: Looks good to me, approved; Looks good to me, approved kokoro: Regressions pass diff --git a/tests/weekly.sh b/tests/weekly.sh index d07cc8b..9c7ebdf 100755 --- a/tests/weekly.sh +++ b/tests/weekly.sh @@ -398,3 +398,39 @@ # delete Pannotia datasets we downloaded and output files it created rm -f coAuthorsDBLP.graph 1k_128k.gr result.out + +# Run tests to ensure the DRAMSys integration is still functioning correctly. +if [ -d "${gem5_root}/ext/dramsys/DRAMSys" ]; then + rm -r "${gem5_root}/ext/dramsys/DRAMSys" +fi + +cd "${gem5_root}/ext/dramsys" +git clone --recursive git@github.com:tukl-msd/DRAMSys.git DRAMSys +cd DRAMSys +git checkout -b gem5 09f6dcbb91351e6ee7cadfc7bc8b29d97625db8f +cd "${gem5_root}" + +rm -rf "${gem5_root}/build/ALL" + +docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \ + "${gem5_root}" --memory="${docker_mem_limit}" --rm \ + gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \ + scons build/ALL/gem5.opt -j${threads} + +docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \ + "${gem5_root}" --memory="${docker_mem_limit}" --rm \ + gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \ + ./build/ALL/gem5.opt \ + configs/example/gem5_library/dramsys/arm-hello-dramsys.py + +docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \ + "${gem5_root}" --memory="${docker_mem_limit}" --rm \ + gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \ + ./build/ALL/gem5.opt \ + configs/example/gem5_library/dramsys/dramsys-traffic.py + +docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \ + "${gem5_root}" --memory="${docker_mem_limit}" --rm \ + gcr.io/gem5-test/ubuntu-22.04_all-dependencies:${tag} \ + ./build/ALL/gem5.opt \ + configs/example/dramsys.py -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/69200?usp=email To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings Gerrit-Project: public/gem5 Gerrit-Branch: develop Gerrit-Change-Id: I4353843e4e5f6db6f6d576dec4a34c3d403da1cc Gerrit-Change-Number: 69200 Gerrit-PatchSet: 4 Gerrit-Owner: Bobby Bruce <bbruce@ucdavis.edu> Gerrit-Reviewer: Bobby Bruce <bbruce@ucdavis.edu> Gerrit-Reviewer: Derek C. <christ.derek@gmail.com> Gerrit-Reviewer: kokoro <noreply+kokoro@google.com> Gerrit-MessageType: merged