Hi Rebecca,
You are right, the format of these two files is gzip not xz, which is the negligence of our cross compiler author, we will fix it in the next version, thank you for pointing out the issue.
Liming, Bob and Yuwei, could you help review this change? Thanks!
Thanks,
Chao
--------
----------------------------原始邮件----------------------------
Thanks! The download has gone from 921 MB to 70 MB, which is much better.
Though, I noticed both files are gz, not xz as the filenames indicate:
Downloads bcran$ file *.tar.xz loongarch64-clfs-6.3-cross-tools-c-only.tar.xz: gzip compressed data, from Unix, original size modulo 2^32 197570560 loongarch64-clfs-6.3-cross-tools-gcc-full.tar.xz: gzip compressed data, from Unix, original size modulo 2^32 3332720640 Reviewed-by: Rebecca Cran <rebecca@bsdio.com>
-- Rebecca Cran
The LoongArch64 cross compiler size is too large after decompression, using the new compiler, there is no system library and glibc. BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4233 Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Yuwei Chen <yuwei.chen@intel.com> Signed-off-by: Chao Li <lichao@loongson.cn> --- BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml b/BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml index fe9a244853..6ebc93a07c 100644 --- a/BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml +++ b/BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml @@ -12,9 +12,9 @@ "scope": "gcc_loongarch64_unknown_linux", "type": "web", "name": "gcc_loongarch64_unknown_linux", - "source":"https://github.com/loongson/build-tools/releases/download/2022.09.06/loongarch64-clfs-6.3-cross-tools-gcc-full.tar.xz", + "source":"https://github.com/loongson/build-tools/releases/download/2022.09.06/loongarch64-clfs-6.3-cross-tools-c-only.tar.xz", "version": "13.0.0", - "sha256":"27a43c5bb127794f091d0e75da0003c4d0eec28a958d8f2cc7cd290a6e6133ab", + "sha256":"744cbb50c6ef07c96551bddf07a8b85cee3250bb18b6040f6ed051e389514951", "compression_type": "tar", "internal_path": "/cross-tools/", "flags": ["set_shell_var", ],