Skip to content

Commit 4e22812

Browse files
committed
update initramfs-spec.txt and run.sh
Signed-off-by: jiaxiaoyu <xyyy1420@gmail.com>
1 parent 309b2a4 commit 4e22812

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

rootfsimg/initramfs-spec.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ file /spec_common/trap ${RISCV_ROOTFS_HOME}/rootfsimg/build/trap 755 0 0
4040
# SPEC
4141
dir /spec 755 0 0
4242
file /spec/run.sh ${RISCV_ROOTFS_HOME}/rootfsimg/run.sh 755 0 0
43-
file /spec/astar_base.riscv64-linux-gnu-gcc12.2.0 /nfs/home/jiaxiaoyu/simpoint/my-spec-top/spec06-rv64gcb-gcc12.2.0-o3/astar_base.rv64gcb-gcc12.2.0-o3 755 0 0
44-
file /spec/BigLakes2048.bin /nfs/home/share/xs-workloads/spec/spec-all/cpu2006_run_dir/astar/BigLakes2048.bin 755 0 0
45-
file /spec/BigLakes2048.cfg /nfs/home/share/xs-workloads/spec/spec-all/cpu2006_run_dir/astar/BigLakes2048.cfg 755 0 0
43+
file /spec/astar_base ${SPEC_BUILD_PATH}/astar 755 0 0
44+
file /spec/BigLakes2048.bin ${CPU2006_RUN_DIR}/astar/BigLakes2048.bin 755 0 0
45+
file /spec/BigLakes2048.cfg ${CPU2006_RUN_DIR}/astar/BigLakes2048.cfg 755 0 0

rootfsimg/run.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
echo '===== Start running SPEC2006 ====='
33
echo '======== BEGIN mcf ========'
44
set -x
5-
md5sum /spec/astar_base.riscv64-linux-gnu-gcc12.2.0
5+
md5sum /spec/astar
66
date -R
7-
cd /spec && ./astar_base.riscv64-linux-gnu-gcc12.2.0 BigLakes2048.cfg
7+
/spec_common/before_workload
8+
cd /spec && ./astar_base BigLakes2048.cfg
89
date -R
910
set +x
11+
/spec_common/trap
1012
echo '======== END mcf ========'
1113
echo '===== Finish running SPEC2006 ====='

0 commit comments

Comments
 (0)