Re: 回复: [edk2-devel] Reducing the size of the loongarch64 toolchain download
Rebecca Cran
rebecca at bsdio.com
Fri Dec 30 03:24:56 UTC 2022
The directory exists, that's not the problem.
The issue is that it's far larger than it needs to be: we could save bandwidth and time.
(.venv) bcran at cube:~/src/uefi/tmp/edk2/BaseTools/Bin/gcc_loongarch64_unknown_linux_extdep$ ldd bin/loongarch64-unknown-linux-gnu-*
...
bin/loongarch64-unknown-linux-gnu-gcc:
not a dynamic executable
...
(.venv) bcran at cube:~/src/uefi/tmp/edk2/BaseTools/Bin/gcc_loongarch64_unknown_linux_extdep$ du -h --max-depth=3
4.0K ./include
66M ./bin
134M ./libexec/gcc/loongarch64-unknown-linux-gnu
134M ./libexec/gcc
134M ./libexec
...
40M ./share
23M ./lib/gcc/loongarch64-unknown-linux-gnu
23M ./lib/gcc
12K ./lib/bfd-plugins
23M ./lib
...
37M ./loongarch64-unknown-linux-gnu
396M ./target/usr/include
2.6G ./target/usr/lib64
4.0K ./target/usr/lib
3.0G ./target/usr
3.0G ./target
3.2G .
--
Rebecca Cran
On 12/29/22 19:11, gaoliming wrote:
> Rebecca:
> BaseTools/Bin/gcc_loongarch64_unknown_linux_extdep directory should be created after Stuart build. Please confirm it.
>
> Thanks
> Liming
>> -----邮件原件-----
>> 发件人:devel at edk2.groups.io <devel at edk2.groups.io> 代表 Rebecca Cran
>> 发送时间: 2022年12月28日 16:15
>> 收件人: Chao Li<lichao at loongson.cn>; Baoqi Zhang
>> <zhangbaoqi at loongson.cn>; Dongyan Qian<qiandongyan at loongson.cn>
>> 抄送:devel at edk2.groups.io; Michael D Kinney<michael.d.kinney at intel.com>
>> 主题: [edk2-devel] 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
>>
>>
>>
>>
>>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#97820): https://edk2.groups.io/g/devel/message/97820
Mute This Topic: https://groups.io/mt/95947939/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20221229/608bad03/attachment.htm>
More information about the edk2-devel-archive
mailing list