public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1] BaseTools: Reduce the LoongArch64 compiler size
@ 2022-12-30 10:06 Chao Li
  2022-12-31  0:50 ` [edk2-devel] " Rebecca Cran
  2023-01-04  1:05 ` 回复: [PATCH v1] BaseTools: Reduce the LoongArch64 compiler size gaoliming
  0 siblings, 2 replies; 4+ messages in thread
From: Chao Li @ 2022-12-30 10:06 UTC (permalink / raw)
  To: devel; +Cc: Bob Feng, Liming Gao, Yuwei Chen

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", ],
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] [PATCH v1] BaseTools: Reduce the LoongArch64 compiler size
  2022-12-30 10:06 [PATCH v1] BaseTools: Reduce the LoongArch64 compiler size Chao Li
@ 2022-12-31  0:50 ` Rebecca Cran
  2023-01-03  7:59   ` 回复:Re: [edk2-devel] [PATCH v1] BaseTools: Reduce the LoongArch64compiler size Chao Li
  2023-01-04  1:05 ` 回复: [PATCH v1] BaseTools: Reduce the LoongArch64 compiler size gaoliming
  1 sibling, 1 reply; 4+ messages in thread
From: Rebecca Cran @ 2022-12-31  0:50 UTC (permalink / raw)
  To: devel, lichao; +Cc: Bob Feng, Liming Gao, Yuwei Chen

[-- Attachment #1: Type: text/plain, Size: 2015 bytes --]

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


On 12/30/22 3:06 AM, Chao Li wrote:
> 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", ],

[-- Attachment #2: Type: text/html, Size: 3188 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* 回复:Re: [edk2-devel] [PATCH v1] BaseTools: Reduce the LoongArch64compiler size
  2022-12-31  0:50 ` [edk2-devel] " Rebecca Cran
@ 2023-01-03  7:59   ` Chao Li
  0 siblings, 0 replies; 4+ messages in thread
From: Chao Li @ 2023-01-03  7:59 UTC (permalink / raw)
  To: Rebecca Cran, devel; +Cc: Bob Feng, Liming Gao, Yuwei Chen

[-- Attachment #1: Type: text/html, Size: 9998 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* 回复: [PATCH v1] BaseTools: Reduce the LoongArch64 compiler size
  2022-12-30 10:06 [PATCH v1] BaseTools: Reduce the LoongArch64 compiler size Chao Li
  2022-12-31  0:50 ` [edk2-devel] " Rebecca Cran
@ 2023-01-04  1:05 ` gaoliming
  1 sibling, 0 replies; 4+ messages in thread
From: gaoliming @ 2023-01-04  1:05 UTC (permalink / raw)
  To: 'Chao Li', devel; +Cc: 'Bob Feng', 'Yuwei Chen'

Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>

> -----邮件原件-----
> 发件人: Chao Li <lichao@loongson.cn>
> 发送时间: 2022年12月30日 18:07
> 收件人: devel@edk2.groups.io
> 抄送: Bob Feng <bob.c.feng@intel.com>; Liming Gao
> <gaoliming@byosoft.com.cn>; Yuwei Chen <yuwei.chen@intel.com>
> 主题: [PATCH v1] BaseTools: Reduce the LoongArch64 compiler size
> 
> 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":"27a43c5bb127794f091d0e75da0003c4d0eec28a958d8f2cc7cd290
> a6e6133ab",
> +
> "sha256":"744cbb50c6ef07c96551bddf07a8b85cee3250bb18b6040f6ed051e
> 389514951",
>    "compression_type": "tar",
>    "internal_path": "/cross-tools/",
>    "flags": ["set_shell_var", ],
> --
> 2.27.0




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-04  1:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-30 10:06 [PATCH v1] BaseTools: Reduce the LoongArch64 compiler size Chao Li
2022-12-31  0:50 ` [edk2-devel] " Rebecca Cran
2023-01-03  7:59   ` 回复:Re: [edk2-devel] [PATCH v1] BaseTools: Reduce the LoongArch64compiler size Chao Li
2023-01-04  1:05 ` 回复: [PATCH v1] BaseTools: Reduce the LoongArch64 compiler size gaoliming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox