File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/riscv/riscv-vector-tests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 22
33XLEN=${XLEN:- " @XLEN@" }
44TOOLDIR=${TOOLDIR:- " @TOOLDIR@" }
5- echo TESTING: $TOOLDIR
65RISCV_TOOLCHAIN_PATH=${RISCV_TOOLCHAIN_PATH:- " $TOOLDIR /riscv$XLEN -gnu-toolchain" }
7- echo TESTING: $RISCV_TOOLCHAIN_PATH
86SCRIPT_DIR=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd )
97PREV_DIR=$( pwd)
108
119sudo apt-get install device-tree-compiler
1210wget -O- -q https://go.dev/dl/go1.24.0.linux-amd64.tar.gz | tar -xzf -
1311
14- export PATH=$PATH :$PREV_DIR /go/bin:$RISCV_TOOLCHAIN_PATH /bin
12+ export RISCV=$RISCV_TOOLCHAIN_PATH
13+ export PATH=$PATH :$PREV_DIR /go/bin:$RISCV /bin
1514
1615git clone --recursive https://github.com/chipsalliance/riscv-vector-tests.git
1716cd riscv-vector-tests
1817
1918git clone --recursive https://github.com/riscv-software-src/riscv-isa-sim.git
2019cd riscv-isa-sim
2120git reset --hard 91793ed7d964aa0031c5a9a31fa05ec3d11b3b0f
21+ export PATH=$PATH :$( pwd) /riscv
2222mkdir build && cd build
23- ../configure --prefix=$RISCV_TOOLCHAIN_PATH
23+ ../configure --prefix=$RISCV
2424make -j$( nproc) && sudo make install
2525cd ../..
2626
You can’t perform that action at this time.
0 commit comments