Fix run-tests to use prep-rtl action + Fix Gemmini software build

This commit is contained in:
abejgonzalez
2021-10-09 10:35:47 -07:00
parent 379ad3a73c
commit 20ebcc9f1b
3 changed files with 6 additions and 10 deletions

View File

@@ -24,14 +24,9 @@ runs:
run: ./scripts/init-submodules-no-riscv-tools.sh
shell: bash
- name: Build toolchain
uses: ./.github/actions/toolchain-build
with:
tools-version: ${{ inputs.tools-version }}
# Note: You shouldn't need the other inputs since it shouldn't build RTL from scratch
- name: Build RTL
uses: ./.github/actions/toolchain-build
uses: ./.github/actions/prepare-rtl
with:
tools-version: ${{ inputs.tools-version }}
group-key: ${{ inputs.group-key }}

View File

@@ -1,5 +1,5 @@
name: toolchain-build
description: 'Builds or retrieves cache of the selected toolchain'
description: 'Builds or retrieves cache of the all toolchains'
inputs:
tools-version:

View File

@@ -25,11 +25,12 @@ if [ $1 = "group-accels" ]; then
export RISCV=$REMOTE_ESP_DIR
export LD_LIBRARY_PATH=$REMOTE_ESP_DIR/lib
export PATH=$RISCV/bin:$PATH
GEMMINI_SOFTWARE_DIR=$REMOTE_CHIPYARD_DIR/generators/gemmini/software/gemmini-rocc-tests
cd $GEMMINI_SOFTWARE_DIR
pushd $REMOTE_CHIPYARD_DIR/generators/gemmini/software
git submodule update --init --recursive gemmini-rocc-tests
cd gemmini-rocc-tests
pushd gemmini-rocc-tests
./build.sh
popd
popd
fi
# choose what make dir to use