From patchwork Thu Dec 29 16:40:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 18078 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 81BB4C3220 for ; Thu, 29 Dec 2022 16:40:29 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 091DA625CF; Thu, 29 Dec 2022 17:40:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1672332029; bh=TLxRGoqvLTBdGvczY/GZCojspe9J9g2mlZodm25RIAM=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=E/WSC7lUHWGIsIsm4P2hRZR+4vi1sMHGrJE/qbXMrbRmRtTiNMDOBoQv5DqcL2Yza A/GTXpkqjugGnkhRKYVIv0hRqriMPJKkysFmZqJUXzxsvDe3RtUafWGYJhcLRPWQT4 4xpykhpAkKQS8Av+37lsYLHKVLX6ROnA7BiqQQgHW4tusRwdQVJq1h8rl9GpfEL5sG BEU2wQAn990Z9NjwTCqwGHYEOVpQOSNcaYUSEcSRr2XdmYcdeyX/UjgUOw5CRPgj8O 2DzmYqPD/F+IEvQbh1v0J9oeKkbKXQVaoRQnUjoI/zJbQMPghqf47//roLK7oqpOmC +T8YPM0Q9BTfA== 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 67F3061F12 for ; Thu, 29 Dec 2022 17:40:27 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="B2ha6yRg"; dkim-atps=neutral Received: from pyrite.mediacom.info (unknown [IPv6:2604:2d80:ad8a:9000:1bf9:855b:22de:3645]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C6EC6283; Thu, 29 Dec 2022 17:40:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1672332027; bh=TLxRGoqvLTBdGvczY/GZCojspe9J9g2mlZodm25RIAM=; h=From:To:Cc:Subject:Date:From; b=B2ha6yRgZ5tnUePolnn0skPAyv9/vbg6X90dMLWUAayVXKFQ142zkcXQi9Z5u6bWb 2eGlTksNozkML648i41Qo0mm05X54/6BByJFyqlWl8Y7pXQhuuoLrwLWmNgwVPyvm1 PCJ3anXBhZLm9PnZFMSFMwGjVQhT+9D/vBDyOzu0= To: libcamera-devel@lists.libcamera.org Date: Thu, 29 Dec 2022 10:40:15 -0600 Message-Id: <20221229164015.1650864-1-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2] meson: Add 'all' choice to pipelines option 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: , X-Patchwork-Original-From: Paul Elder via libcamera-devel From: Paul Elder Reply-To: Paul Elder Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Add an 'all' choice to the pipelines option, for building all pipelines. Signed-off-by: Paul Elder Conditionally-Reviewed-by: Laurent Pinchart Conditionally-Reviewed-by: Umang Jain --- Changes in v2: - specify what happens if both auto and all are selected --- meson.build | 12 ++++++++++++ meson_options.txt | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index df9099d0..24c31303 100644 --- a/meson.build +++ b/meson.build @@ -164,6 +164,18 @@ liblttng = dependency('lttng-ust', required : get_option('tracing')) # are enabled. pipelines = get_option('pipelines') +if pipelines.contains('all') + pipelines = [ + 'imx8-isi', + 'ipu3', + 'raspberrypi', + 'rkisp1', + 'simple', + 'uvcvideo', + 'vimc' + ] +endif + if pipelines.contains('auto') host_cpu = host_machine.cpu_family() pipelines = [] diff --git a/meson_options.txt b/meson_options.txt index 793cda93..78a78b72 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -39,6 +39,7 @@ option('pipelines', type : 'array', value : ['auto'], choices : [ + 'all', 'auto', 'imx8-isi', 'ipu3', @@ -48,7 +49,7 @@ option('pipelines', 'uvcvideo', 'vimc' ], - description : 'Select which pipeline handlers to build. If this is set to auto, all the pipelines applicable to the target architecture will be built.') + description : 'Select which pipeline handlers to build. If this is set to "auto", all the pipelines applicable to the target architecture will be built. If this is set to "all", all the pipelines will be built. If both are selected then "all" will take precedence.') option('qcam', type : 'feature',