diff mbox series

[v2] gcc: depend on zstd

Message ID 20230927125801.3962397-1-sean@geanix.com
State Accepted, archived
Commit 2f6e3d32ad73ef8e0e3d3b89702d85c36358c00c
Headers show
Series [v2] gcc: depend on zstd | expand

Commit Message

Sean Nyekjaer Sept. 27, 2023, 12:57 p.m. UTC
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 <sean@geanix.com>
---
 meta/recipes-devtools/gcc/gcc-13.2.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Kjellerstedt Sept. 27, 2023, 5:33 p.m. UTC | #1
> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <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 <sean@geanix.com>; kasper@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 <sean@geanix.com>
> ---
>  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
diff mbox series

Patch

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"