Skip to content

Commit fadc061

Browse files
committed
Update gen-test.sh.in
1 parent 175c9ba commit fadc061

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/riscv/riscv-vector-tests/gen-test.sh.in

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ RISCV_TOOLCHAIN_PATH=${RISCV_TOOLCHAIN_PATH:-"$TOOLDIR/riscv$XLEN-gnu-toolchain"
77
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
88
PREV_DIR=$(pwd)
99

10+
if [ "$XLEN" -ne 64 ]; then
11+
rsync -a $RISCV_TOOLCHAIN_PATH64/* $RISCV_TOOLCHAIN_PATH
12+
fi
13+
1014
sudo apt-get install device-tree-compiler
1115
wget -O- -q https://go.dev/dl/go1.24.0.linux-amd64.tar.gz | tar -xzf -
1216

1317
export RISCV=$RISCV_TOOLCHAIN_PATH
14-
export PATH=$PATH:$PREV_DIR/go/bin
15-
if [ "$XLEN" -ne 64 ]; then
16-
export PATH=$PATH:RISCV_TOOLCHAIN_PATH64/bin
17-
fi
18+
export PATH=$PATH:$PREV_DIR/go/bin:$RISCV/bin
1819

1920
git clone --recursive https://github.com/chipsalliance/riscv-vector-tests.git
2021
cd riscv-vector-tests

0 commit comments

Comments
 (0)