Hi Rebecca,

Ok, we have a small size toolchain without the glibc and system libraries, I will submit a fix patch after CI passes.


Thanks,
Chao
--------



----------------------------原始邮件----------------------------

发件人: rebecca<rebecca@bsdio.com>

发送时间: 2022-12-28 16:15:28

收件人: Chao Li<lichao@loongson.cn>,Baoqi Zhang<zhangbaoqi@loongson.cn>,Dongyan Qian<qiandongyan@loongson.cn>

抄送: devel<devel@edk2.groups.io>,Michael D Kinney<michael.d.kinney@intel.com>

主题: Reducing the size of the loongarch64 toolchain download

I noticed the BaseTools/Bin/gcc_loongarch64_unknown_linux_extdep directory is 3.2GB. However, 2.6GB of that is from target/usr/lib64 (which includes X and Qt libraries). Since it appears the gcc binaries are statically linked, I was wondering if the lib and lib64 directories could be excluded from future uploads? -- Rebecca Cran