tools/ci: Upgrade riscv toolchain to v13.2.0

from https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/tag/v13.2.0-2

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-11-26 11:14:19 +08:00 committed by Mateusz Szafoni
parent dc1a2135de
commit b68aa89e56
3 changed files with 6 additions and 6 deletions

View File

@ -337,10 +337,10 @@ function riscv-gcc-toolchain {
;;
esac
cd "${tools}"
wget --quiet https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v12.3.0-2/xpack-riscv-none-elf-gcc-12.3.0-2-${flavor}.tar.gz
tar zxf xpack-riscv-none-elf-gcc-12.3.0-2-${flavor}.tar.gz
mv xpack-riscv-none-elf-gcc-12.3.0-2 riscv-none-elf-gcc
rm xpack-riscv-none-elf-gcc-12.3.0-2-${flavor}.tar.gz
wget --quiet https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v13.2.0-2/xpack-riscv-none-elf-gcc-13.2.0-2-${flavor}.tar.gz
tar zxf xpack-riscv-none-elf-gcc-13.2.0-2-${flavor}.tar.gz
mv xpack-riscv-none-elf-gcc-13.2.0-2 riscv-none-elf-gcc
rm xpack-riscv-none-elf-gcc-13.2.0-2-${flavor}.tar.gz
fi
command riscv-none-elf-gcc --version

View File

@ -192,7 +192,7 @@ RUN cd /tools/renesas-tools/build/gcc && \
FROM nuttx-toolchain-base AS nuttx-toolchain-riscv
# Download the latest RISCV GCC toolchain prebuilt by xPack
RUN mkdir riscv-none-elf-gcc && \
curl -s -L "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v12.3.0-2/xpack-riscv-none-elf-gcc-12.3.0-2-linux-x64.tar.gz" \
curl -s -L "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v13.2.0-2/xpack-riscv-none-elf-gcc-13.2.0-2-linux-x64.tar.gz" \
| tar -C riscv-none-elf-gcc --strip-components 1 -xz
###############################################################################

View File

@ -26,7 +26,7 @@
# RISC-V
/risc-v/bl602/bl602evb/configs/wifi
/risc-v/esp32c3/esp32c3-devkit/configs/cxx
/risc-v/esp32c3/esp32c3-devkit/configs/wifi
# x86_64-elf-gcc from homebrew doesn't seem to