Skip to content

Commit e453a3d

Browse files
authored
Update ci script (#61)
Update ci script, remove no use script. Track upstream branch and RVI branch.
1 parent f4b0b59 commit e453a3d

6 files changed

+49
-114
lines changed

gnu-toolchain-bkpv.sh

-36
This file was deleted.

gnu-toolchain-rvi.sh

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
git clone https://github.com/riscv-collab/riscv-gnu-toolchain.git
2+
cd riscv-gnu-toolchain
3+
git submodule update --init --recursive
4+
5+
# make rv32
6+
./configure --prefix="$PWD/opt-riscv-rv64/" --with-arch=rv64gc --with-abi=lp64d
7+
make -j $(nproc)
8+
9+
#test rv32
10+
make report-gcc-newlib -j $(nproc) &&
11+
make report-binutils -j $(nproc)
12+
13+
make clean
14+
15+
# make rv32
16+
./configure --prefix="$PWD/opt-riscv-rv32/" --with-arch=rv32gc --with-abi=ilp32d
17+
make -j $(nproc)
18+
19+
#test rv32
20+
make report-gcc-newlib -j $(nproc) &&
21+
make report-binutils -j $(nproc)

gnu-toolchain-upstream-rv32.sh

-25
This file was deleted.

gnu-toolchain-upstream-rv64.sh

-25
This file was deleted.

gnu-toolchain-upstream.sh

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
git clone https://github.com/riscv-collab/riscv-gnu-toolchain.git
2+
cd riscv-gnu-toolchain
3+
git submodule update --init --recursive
4+
cd gcc
5+
git fetch origin
6+
git checkout git checkout origin/master
7+
cd ../binutils
8+
git fetch origin
9+
git checkout git checkout origin/master
10+
cd ..
11+
12+
# make rv32
13+
./configure --prefix="$PWD/opt-riscv-rv64/" --with-arch=rv64gc --with-abi=lp64d
14+
make -j $(nproc)
15+
16+
#test rv32
17+
make report-gcc-newlib -j $(nproc) &&
18+
make report-binutils -j $(nproc)
19+
20+
make clean
21+
22+
# make rv64
23+
./configure --prefix="$PWD/opt-riscv-rv64/" --with-arch=rv64gc --with-abi=lp64d
24+
make -j $(nproc)
25+
26+
# test rv64
27+
make report-gcc-newlib -j $(nproc) &&
28+
make report-binutils -j $(nproc)

gnu-toolchain-zmmul-extension.sh

-28
This file was deleted.

0 commit comments

Comments
 (0)