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

BB
Bobby Bruce (Gerrit)
Wed, Mar 22, 2023 7:22 PM

Bobby Bruce has uploaded this change for review. (
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

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

diff --git a/tests/weekly.sh b/tests/weekly.sh
index c7f834b..8115c99 100755
--- a/tests/weekly.sh
+++ b/tests/weekly.sh
@@ -385,3 +385,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 "${gem5_root}/ext/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: 1
Gerrit-Owner: Bobby Bruce bbruce@ucdavis.edu
Gerrit-MessageType: newchange

Bobby Bruce has uploaded this change for review. ( 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 --- M tests/weekly.sh 1 file changed, 36 insertions(+), 0 deletions(-) diff --git a/tests/weekly.sh b/tests/weekly.sh index c7f834b..8115c99 100755 --- a/tests/weekly.sh +++ b/tests/weekly.sh @@ -385,3 +385,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 "${gem5_root}/ext/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: 1 Gerrit-Owner: Bobby Bruce <bbruce@ucdavis.edu> Gerrit-MessageType: newchange