Fix run-tests to use prep-rtl action + Fix Gemmini software build
This commit is contained in:
7
.github/actions/run-tests/action.yml
vendored
7
.github/actions/run-tests/action.yml
vendored
@@ -24,14 +24,9 @@ runs:
|
|||||||
run: ./scripts/init-submodules-no-riscv-tools.sh
|
run: ./scripts/init-submodules-no-riscv-tools.sh
|
||||||
shell: bash
|
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
|
# Note: You shouldn't need the other inputs since it shouldn't build RTL from scratch
|
||||||
- name: Build RTL
|
- name: Build RTL
|
||||||
uses: ./.github/actions/toolchain-build
|
uses: ./.github/actions/prepare-rtl
|
||||||
with:
|
with:
|
||||||
tools-version: ${{ inputs.tools-version }}
|
tools-version: ${{ inputs.tools-version }}
|
||||||
group-key: ${{ inputs.group-key }}
|
group-key: ${{ inputs.group-key }}
|
||||||
|
|||||||
2
.github/actions/toolchain-build/action.yml
vendored
2
.github/actions/toolchain-build/action.yml
vendored
@@ -1,5 +1,5 @@
|
|||||||
name: toolchain-build
|
name: toolchain-build
|
||||||
description: 'Builds or retrieves cache of the selected toolchain'
|
description: 'Builds or retrieves cache of the all toolchains'
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
tools-version:
|
tools-version:
|
||||||
|
|||||||
7
.github/scripts/remote-do-rtl-build.sh
vendored
7
.github/scripts/remote-do-rtl-build.sh
vendored
@@ -25,11 +25,12 @@ if [ $1 = "group-accels" ]; then
|
|||||||
export RISCV=$REMOTE_ESP_DIR
|
export RISCV=$REMOTE_ESP_DIR
|
||||||
export LD_LIBRARY_PATH=$REMOTE_ESP_DIR/lib
|
export LD_LIBRARY_PATH=$REMOTE_ESP_DIR/lib
|
||||||
export PATH=$RISCV/bin:$PATH
|
export PATH=$RISCV/bin:$PATH
|
||||||
GEMMINI_SOFTWARE_DIR=$REMOTE_CHIPYARD_DIR/generators/gemmini/software/gemmini-rocc-tests
|
pushd $REMOTE_CHIPYARD_DIR/generators/gemmini/software
|
||||||
cd $GEMMINI_SOFTWARE_DIR
|
|
||||||
git submodule update --init --recursive gemmini-rocc-tests
|
git submodule update --init --recursive gemmini-rocc-tests
|
||||||
cd gemmini-rocc-tests
|
pushd gemmini-rocc-tests
|
||||||
./build.sh
|
./build.sh
|
||||||
|
popd
|
||||||
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# choose what make dir to use
|
# choose what make dir to use
|
||||||
|
|||||||
Reference in New Issue
Block a user