From patchwork Sat Aug 3 21:08:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 20750 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id A9C3BC323E for ; Sat, 3 Aug 2024 21:09:10 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 775DD63381; Sat, 3 Aug 2024 23:09:09 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="MEKLAnPD"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id F40246336E for ; Sat, 3 Aug 2024 23:09:07 +0200 (CEST) Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 80B11512 for ; Sat, 3 Aug 2024 23:08:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1722719297; bh=6Fx02m6iAeOYMzJe0E+vINzlZwq+Vca+MAeh7s9y+dg=; h=From:To:Subject:Date:From; b=MEKLAnPD9hsAKHGrhK2PfeNhlBwa4DV0iCkVYp/tvoD2WcbVxrl1n8L3qFEtX/2kI kO2eTyIyZjhmAv2wFUwg84DJtOqWlNo2elJFKUiyeljCHlzdDwqeAD5bsJvHpjBwol fCWPNqtwdWvQRB9e7b6niRTTNkhw2+8jRHpAxNoU= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Subject: [PATCH] meson: Drop gcc 8 support Date: Sun, 4 Aug 2024 00:08:46 +0300 Message-ID: <20240803210846.18224-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.44.2 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" 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 Reviewed-by: Umang Jain Acked-by: Kieran Bingham --- meson.build | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) base-commit: 19bbca3c0b376ba0183f5db53472c8c46cd402b5 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