Re: [OE-core][PATCH v2] gcc: depend on zstd

2023-09-27 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-core@lists.openembedded.org 
>  On Behalf Of Sean Nyekjaer
> Sent: den 27 september 2023 14:58
> To: openembedded-core@lists.openembedded.org
> Cc: Sean Nyekjaer ; kas...@krinvent.dk
> Subject: [OE-core][PATCH v2] gcc: depend on zstd
> 
> Add zstd LTO support for target and nativesdk compiler.
> This also brings gcc into sync with gcc-cross.
> 
> ---

You do not want to use a line like the above in your commit 
message since Git will cut the commit message at the first 
occurrence of three dashes at the start of a line. I.e., 
everything below until the actual diff is ignored when 
applying this patch.

> % x86_64-oe-linux-gcc -v
> [...]
>  Supported LTO compression algorithms: zlib zstd
>  gcc version 12.2.0 (GCC)
> % x86_64-oesdk-linux-gcc -v
> [...]
>  Supported LTO compression algorithms: zlib
>  gcc version 12.2.0 (GCC)
> ---
> 
> Signed-off-by: Sean Nyekjaer 
> ---
>  meta/recipes-devtools/gcc/gcc-13.2.inc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/gcc/gcc-13.2.inc 
> b/meta/recipes-devtools/gcc/gcc-13.2.inc
> index d96f3171e4..359db1e278 100644
> --- a/meta/recipes-devtools/gcc/gcc-13.2.inc
> +++ b/meta/recipes-devtools/gcc/gcc-13.2.inc
> @@ -10,7 +10,7 @@ BINV = "13.2.0"
> 
>  FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:"
> 
> -DEPENDS =+ "mpfr gmp libmpc zlib flex-native"
> +DEPENDS =+ "mpfr gmp libmpc zlib zstd flex-native"
>  NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native flex-native 
> zstd-native"
> 
>  LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"
> --
> 2.42.0

//Peter


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188337): 
https://lists.openembedded.org/g/openembedded-core/message/188337
Mute This Topic: https://lists.openembedded.org/mt/101616424/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][PATCH v2] gcc: depend on zstd

2023-09-27 Thread Sean Nyekjaer
Add zstd LTO support for target and nativesdk compiler.
This also brings gcc into sync with gcc-cross.

---
% x86_64-oe-linux-gcc -v
[...]
 Supported LTO compression algorithms: zlib zstd
 gcc version 12.2.0 (GCC)
% x86_64-oesdk-linux-gcc -v
[...]
 Supported LTO compression algorithms: zlib
 gcc version 12.2.0 (GCC)
---

Signed-off-by: Sean Nyekjaer 
---
 meta/recipes-devtools/gcc/gcc-13.2.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/gcc/gcc-13.2.inc 
b/meta/recipes-devtools/gcc/gcc-13.2.inc
index d96f3171e4..359db1e278 100644
--- a/meta/recipes-devtools/gcc/gcc-13.2.inc
+++ b/meta/recipes-devtools/gcc/gcc-13.2.inc
@@ -10,7 +10,7 @@ BINV = "13.2.0"
 
 FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc:${FILE_DIRNAME}/gcc/backport:"
 
-DEPENDS =+ "mpfr gmp libmpc zlib flex-native"
+DEPENDS =+ "mpfr gmp libmpc zlib zstd flex-native"
 NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native flex-native 
zstd-native"
 
 LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only"
-- 
2.42.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#188314): 
https://lists.openembedded.org/g/openembedded-core/message/188314
Mute This Topic: https://lists.openembedded.org/mt/101616424/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-