From patchwork Wed Dec 28 22:57:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 18077 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 C6D57BD78E for ; Wed, 28 Dec 2022 22:57:23 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 19BEB625CF; Wed, 28 Dec 2022 23:57:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1672268243; bh=c/OVfOlvUsAAetBIx93HH3HJmRQPaZRzac7ALINAEXM=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=mCW2ti6LFHFu1/gDoDVKOfbfopa91ZbsUO63BbCLoja0jWy2shBaDVMSzSw1Vbgf0 SsCtdwKohCrILT4Uhawwf4GQ3KTspuk3+68uXdif0X64rpgQnAKkGUvUclCFQJg3ex LVHwPZzOOWDIYdvybMEKmHRUdchZbO+MH+umYyAy651Nnqb0bU0hM1r9N1USK5DS6d i9W04OkWll5eTO6GCYoJlRH0ec/P9Mb8kRwuNif22nv4oP/02JLb7I63lxeh0Rwn+Q 9dF+rpp0OQ8U9pye+Tx15xgFfIu5dHLPkk7L3edc0Qay09GmxzI1Nq6eH+zwyoJQJ/ V1bPrL9nuGf/A== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 4901361F13 for ; Wed, 28 Dec 2022 23:57:22 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="XdCDTmzX"; 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 459EA109; Wed, 28 Dec 2022 23:57:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1672268241; bh=c/OVfOlvUsAAetBIx93HH3HJmRQPaZRzac7ALINAEXM=; h=From:To:Cc:Subject:Date:From; b=XdCDTmzXeeT6eArhjZqx/inmcvd6scO96McDYK5TvgVxSmGy87NyW3gg5+DZqIDI+ DXfxZm+Y6igej57oCkHrrXkjGMlYIyjIj7rCWODkhz6uFdN+Yc0EcUmXw5z7OJVsxm L4jBktoPD4KboJ8OJluFaWDDJPEsZbJW4BPJhwmI= To: libcamera-devel@lists.libcamera.org Date: Wed, 28 Dec 2022 16:57:10 -0600 Message-Id: <20221228225710.2357657-1-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH] 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 --- This patch depends on "meson: options: Fix typo in pipelines documentation" [1] [1] https://patchwork.libcamera.org/patch/18076/ This way we don't have to update buildbot scripts every time we add a new pipeline handler (unless it doens't happen often enough that we don't need this option). The pipelines need to be explicitly listed for meson to build them. --- meson.build | 12 ++++++++++++ meson_options.txt | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index df9099d0..4e5c417d 100644 --- a/meson.build +++ b/meson.build @@ -181,6 +181,18 @@ if pipelines.contains('auto') pipelines += ['uvcvideo'] endif +if pipelines.contains('all') + pipelines = [ + 'imx8-isi', + 'ipu3', + 'raspberrypi', + 'rkisp1', + 'simple', + 'uvcvideo', + 'vimc' + ] +endif + if get_option('test') and 'vimc' not in pipelines message('Enabling vimc pipeline handler to support tests') pipelines += ['vimc'] diff --git a/meson_options.txt b/meson_options.txt index 793cda93..2443acf3 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. ') option('qcam', type : 'feature',