Skip to content

Commit 9d98bd4

Browse files
Upgrade loongarch64 toolchain
A newer version of gcc is needed for loongarch64 for the `edk2-stable202511` release. Tested this change with `cargo run -- edk2-stable202508-r1`.
1 parent ef29de2 commit 9d98bd4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build-edk2/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ RUN echo "0ecaa2a242d39c84e5f0aef33a771a93e5b89c4833b5ff87d5604008f34a068b gcc-r
1919
RUN tar -C /opt -xf gcc-riscv.tar.xz
2020

2121
# Use the LoongArch64 cross toolchain for building LoongArch64 code.
22-
RUN wget https://github.com/loongson/build-tools/releases/download/2023.08.08/x86_64-cross-tools-loongarch64-binutils_2.41-gcc_13.2.0.tar.xz
23-
RUN echo "51f02e7e63e406892f1a6b7fae2a50c98758449358de67418d79acacda22b8e3 x86_64-cross-tools-loongarch64-binutils_2.41-gcc_13.2.0.tar.xz" | sha256sum --check
22+
RUN wget https://github.com/loongson/build-tools/releases/download/2025.08.08/x86_64-cross-tools-loongarch64-binutils_2.45-gcc_15.1.0.tar.xz
23+
RUN echo "f1628eda43d679ab9afd98cec33789545c85691984804ca992cadd125ed112c6 x86_64-cross-tools-loongarch64-binutils_2.45-gcc_15.1.0.tar.xz" | sha256sum --check
2424
RUN mkdir /opt/loongarch64_cross-toolchain/
25-
RUN tar -vxf x86_64-cross-tools-loongarch64-binutils_2.41-gcc_13.2.0.tar.xz -C /opt/loongarch64_cross-toolchain/
25+
RUN tar -vxf x86_64-cross-tools-loongarch64-binutils_2.45-gcc_15.1.0.tar.xz -C /opt/loongarch64_cross-toolchain/
2626

2727
# Use git rather than a release tarball, since the tarball is missing
2828
# submodules.

0 commit comments

Comments
 (0)