mirror of
https://github.com/apache/nuttx.git
synced 2025-12-16 09:45:18 +08:00
ci/platforms/ubuntu.sh: bump risc-v toolchain
Bump xPack GNU RISC-V Embedded GCC v14.2.0-3
This commit is contained in:
@@ -216,12 +216,12 @@ riscv_gcc_toolchain() {
|
||||
|
||||
if [ ! -f "${NUTTXTOOLS}/riscv-none-elf-gcc/bin/riscv-none-elf-gcc" ]; then
|
||||
local basefile
|
||||
basefile=xpack-riscv-none-elf-gcc-13.2.0-2-linux-x64
|
||||
basefile=xpack-riscv-none-elf-gcc-14.2.0-3-linux-x64
|
||||
cd "${NUTTXTOOLS}"
|
||||
# Download the latest RISCV GCC toolchain prebuilt by xPack
|
||||
curl -O -L -s https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v13.2.0-2/${basefile}.tar.gz
|
||||
curl -O -L -s https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v14.2.0-3/${basefile}.tar.gz
|
||||
tar zxf ${basefile}.tar.gz
|
||||
mv xpack-riscv-none-elf-gcc-13.2.0-2 riscv-none-elf-gcc
|
||||
mv xpack-riscv-none-elf-gcc-14.2.0-3 riscv-none-elf-gcc
|
||||
rm ${basefile}.tar.gz
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user