Skip to content

Commit 1bd316d

Browse files
committed
update ci
1 parent 35f51df commit 1bd316d

2 files changed

Lines changed: 13 additions & 16 deletions

File tree

.github/scripts/do-rtl-build-mx.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,16 @@ source /ecad/tools/vlsi.bashrc
1717

1818
cd $LOCAL_SIM_DIR
1919
make -j$LOCAL_MAKE_NPROC -C $LOCAL_SIM_DIR CONFIG=$MX_CICONFIG
20+
21+
cd $LOCAL_CHECKOUT_DIR
22+
chown -R $(whoami) .
23+
git config --global --add safe.directory $LOCAL_CHECKOUT_DIR
24+
git config --global --add safe.directory '*'
25+
rm -rf $RISCV/lib/libgemmini.so
26+
git submodule update --init software/libgemmini
27+
make -C software/libgemmini install
28+
29+
TESTS_DIR=$LOCAL_CHIPYARD_DIR/generators/gemmini/software/gemmini-rocc-tests
30+
cd $TESTS_DIR
31+
./build_spike.sh
32+
./build.sh

.github/scripts/run-tests-mx.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,8 @@ source env.sh
1919
# Put Synopsys VCS (and its license server) on PATH for the sims/vcs run.
2020
source /ecad/tools/vlsi.bashrc
2121

22-
# Install the in-repo libgemmini.so over chipyard's stale copy.
23-
cd $LOCAL_CHECKOUT_DIR
24-
chown -R $(whoami) .
25-
git config --global --add safe.directory $LOCAL_CHECKOUT_DIR
26-
git config --global --add safe.directory '*'
27-
rm -rf $RISCV/lib/libgemmini.so
28-
git submodule update --init software/libgemmini
29-
make -C software/libgemmini install
30-
3122
TESTS_DIR=$LOCAL_CHIPYARD_DIR/generators/gemmini/software/gemmini-rocc-tests
3223

33-
# Build both binary flavours:
34-
# build_spike/ -> -DSPIKE_SIM ROCC-only path
35-
# build/ -> default MMIO path used by RTL
36-
cd $TESTS_DIR
37-
./build_spike.sh
38-
./build.sh
39-
4024
PASS=()
4125
FAIL=()
4226

0 commit comments

Comments
 (0)