meson: Drop gcc 8 support
diff mbox series

Message ID 20240803210846.18224-1-laurent.pinchart@ideasonboard.com
State Accepted
Commit 9f513439b6896d1a33c91a400bd02b7b8829feb6
Headers show
Series
  • meson: Drop gcc 8 support
Related show

Commit Message

Laurent Pinchart Aug. 3, 2024, 9:08 p.m. UTC
The libcamera CI has retired gcc 8 testing with the end of life of
Debian Buster at the end of June 2024. As gcc 8 isn't tested anymore, we
can't guarantee it will keep building libcamera correctly. Drop its
support. If anyone still has a compeling use case for gcc 8 support for
libcamera, we will investigate how to restore it in CI.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 meson.build | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)


base-commit: 19bbca3c0b376ba0183f5db53472c8c46cd402b5

Comments

Umang Jain Aug. 5, 2024, 6:05 a.m. UTC | #1
Hi Laurent,

Thank you for the patch.

On 04/08/24 2:38 am, Laurent Pinchart wrote:
> The libcamera CI has retired gcc 8 testing with the end of life of
> Debian Buster at the end of June 2024. As gcc 8 isn't tested anymore, we
> can't guarantee it will keep building libcamera correctly. Drop its
> support. If anyone still has a compeling use case for gcc 8 support for

s/compeling/compelling/
> libcamera, we will investigate how to restore it in CI.
>
> Signed-off-by: Laurent Pinchart<laurent.pinchart@ideasonboard.com>

Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>

> ---
>   meson.build | 10 +---------
>   1 file changed, 1 insertion(+), 9 deletions(-)
>
> diff --git a/meson.build b/meson.build
> index 316abdb84e92..59293e478b00 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -146,16 +146,8 @@ if cc.get_id() == 'clang'
>   endif
>   
>   if cc.get_id() == 'gcc'
> -    if cc.version().version_compare('<8')
> -        error('gcc version is too old, libcamera requires 8.0 or newer')
> -    endif
> -
> -    # On gcc 8, the file system library is provided in a separate static
> -    # library.
>       if cc.version().version_compare('<9')
> -        cpp_arguments += [
> -            '-lstdc++fs',
> -        ]
> +        error('gcc version is too old, libcamera requires 9.0 or newer')
>       endif
>   
>       # gcc 13 implements the C++23 version of automatic move from local
>
> base-commit: 19bbca3c0b376ba0183f5db53472c8c46cd402b5
Kieran Bingham Aug. 5, 2024, 8:53 a.m. UTC | #2
Quoting Laurent Pinchart (2024-08-03 22:08:46)
> The libcamera CI has retired gcc 8 testing with the end of life of
> Debian Buster at the end of June 2024. As gcc 8 isn't tested anymore, we
> can't guarantee it will keep building libcamera correctly. Drop its
> support. If anyone still has a compeling use case for gcc 8 support for
> libcamera, we will investigate how to restore it in CI.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>

> ---
>  meson.build | 10 +---------
>  1 file changed, 1 insertion(+), 9 deletions(-)
> 
> diff --git a/meson.build b/meson.build
> index 316abdb84e92..59293e478b00 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -146,16 +146,8 @@ if cc.get_id() == 'clang'
>  endif
>  
>  if cc.get_id() == 'gcc'
> -    if cc.version().version_compare('<8')
> -        error('gcc version is too old, libcamera requires 8.0 or newer')
> -    endif
> -
> -    # On gcc 8, the file system library is provided in a separate static
> -    # library.
>      if cc.version().version_compare('<9')
> -        cpp_arguments += [
> -            '-lstdc++fs',
> -        ]
> +        error('gcc version is too old, libcamera requires 9.0 or newer')
>      endif
>  
>      # gcc 13 implements the C++23 version of automatic move from local
> 
> base-commit: 19bbca3c0b376ba0183f5db53472c8c46cd402b5
> -- 
> Regards,
> 
> Laurent Pinchart
>

Patch
diff mbox series

diff --git a/meson.build b/meson.build
index 316abdb84e92..59293e478b00 100644
--- a/meson.build
+++ b/meson.build
@@ -146,16 +146,8 @@  if cc.get_id() == 'clang'
 endif
 
 if cc.get_id() == 'gcc'
-    if cc.version().version_compare('<8')
-        error('gcc version is too old, libcamera requires 8.0 or newer')
-    endif
-
-    # On gcc 8, the file system library is provided in a separate static
-    # library.
     if cc.version().version_compare('<9')
-        cpp_arguments += [
-            '-lstdc++fs',
-        ]
+        error('gcc version is too old, libcamera requires 9.0 or newer')
     endif
 
     # gcc 13 implements the C++23 version of automatic move from local