mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 13:52:22 +08:00
ci/platforms/darwin_arm64.sh: bump risc-v toolchain
Darwin arm64 Bump xPack GNU RISC-V Embedded GCC v14.2.0-3
This commit is contained in:
@@ -271,12 +271,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-darwin-arm64
|
||||
basefile=xpack-riscv-none-elf-gcc-14.2.0-3-darwin-arm64
|
||||
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