Skip to content

Commit 5f5eb8f

Browse files
committed
add correct source script
1 parent bb21bfc commit 5f5eb8f

3 files changed

Lines changed: 29 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@ eval "$(conda shell.bash hook)"
1212
cd $LOCAL_CHIPYARD_DIR
1313
source env.sh
1414

15+
# Put Synopsys VCS (and its license server) on PATH for the sims/vcs build.
16+
source /ecad/tools/vlsi.bashrc
17+
1518
cd $LOCAL_SIM_DIR
1619
make -j$LOCAL_MAKE_NPROC -C $LOCAL_SIM_DIR CONFIG=$MX_CICONFIG

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ eval "$(conda shell.bash hook)"
1616
cd $LOCAL_CHIPYARD_DIR
1717
source env.sh
1818

19+
# Put Synopsys VCS (and its license server) on PATH for the sims/vcs run.
20+
source /ecad/tools/vlsi.bashrc
21+
1922
# Install the in-repo libgemmini.so over chipyard's stale copy.
2023
cd $LOCAL_CHECKOUT_DIR
2124
chown -R $(whoami) .

.github/workflows/config.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ jobs:
1414
install-gemmini:
1515
runs-on: as4
1616
steps:
17+
- name: Identify runner host
18+
run: |
19+
echo "host=$(hostname -f)"
20+
echo "user=$(whoami)"
21+
echo "runner_name=$RUNNER_NAME"
22+
echo "runner_workspace=$RUNNER_WORKSPACE"
23+
echo "cwd=$(pwd)"
1724
- name: Delete old checkout
1825
run: |
1926
rm -rf ${{ github.workspace }}/* || true
@@ -68,25 +75,39 @@ jobs:
6875
runs-on: as4
6976
needs: install-gemmini
7077
steps:
78+
- name: Identify runner host
79+
run: |
80+
echo "host=$(hostname -f)"
81+
echo "user=$(whoami)"
82+
echo "runner_name=$RUNNER_NAME"
83+
echo "runner_workspace=$RUNNER_WORKSPACE"
84+
echo "cwd=$(pwd)"
7185
- name: Delete old checkout
7286
run: |
7387
rm -rf ${{ github.workspace }}/* || true
7488
rm -rf ${{ github.workspace }}/.* || true
7589
- uses: actions/checkout@v3
76-
- name: Build MX (RadianceGemminiOnlyConfig) RTL with Verilator
90+
- name: Build MX (RadianceGemminiOnlyConfig) RTL
7791
run: |
7892
.github/scripts/do-rtl-build-mx.sh
7993
8094
mx-run-tests:
8195
runs-on: as4
8296
needs: build-mx-config
8397
steps:
98+
- name: Identify runner host
99+
run: |
100+
echo "host=$(hostname -f)"
101+
echo "user=$(whoami)"
102+
echo "runner_name=$RUNNER_NAME"
103+
echo "runner_workspace=$RUNNER_WORKSPACE"
104+
echo "cwd=$(pwd)"
84105
- name: Delete old checkout
85106
run: |
86107
rm -rf ${{ github.workspace }}/* || true
87108
rm -rf ${{ github.workspace }}/.* || true
88109
- uses: actions/checkout@v3
89-
- name: Run MX (FP4/FP6/FP8) tests on spike and Verilator
110+
- name: Run MX (FP4/FP6/FP8) tests on spike and VCS
90111
run: |
91112
.github/scripts/run-tests-mx.sh
92113

0 commit comments

Comments
 (0)