From patchwork Fri Sep 4 11:17:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 9499 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 930C9BE174 for ; Fri, 4 Sep 2020 11:17:14 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 13F9B62946; Fri, 4 Sep 2020 13:17:14 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="UfmTiiDb"; 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 31EA16037B for ; Fri, 4 Sep 2020 13:17:12 +0200 (CEST) Received: from Q.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 4BF13540; Fri, 4 Sep 2020 13:17:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1599218226; bh=kKo185snGT6EXXQnn3vzQbhX6KvxRJEJRrCTsxVOa6g=; h=From:To:Cc:Subject:Date:From; b=UfmTiiDbonJtDgZemrmEylMmUYeHci6Aowahlj9CY7jFt/Vb71Yuy6P83q6s8ZMEx F7bXoh5ldrl/06nBjUr7Co3C7FRY+xWjHThBJLE1Yb0p89jmIH6cY61yRvTMx+lqx2 reE08RIBbYdgGUpZGAWLp43U5Y/Q86tPVFeefCuY= From: Kieran Bingham To: libcamera devel Date: Fri, 4 Sep 2020 12:17:02 +0100 Message-Id: <20200904111702.859069-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2] meson: Provide build configuration summary 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" Report the enabled pipelines when configuring the meson build hierarchy. This helps clarify what pipelines are used when building, and is useful when looking back through build-traces to see what was actually configured. This can be expanded upon to report other options, and ideally will be replaced by mesons summary() functionality when it is available. Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart Reviewed-by: Niklas Söderlund --- I've marked this as v2, as it superceedes the earlier "libcamera: pipelines: Print enabled pipelines". This now produces the following output: ... Program sphinx-build-3 found: NO Program sphinx-build found: YES (/home/kbingham/.local/bin/sphinx-build) Configuring config.h using configuration Message: Enabled pipelines: ipu3, raspberrypi, rkisp1, simple, uvcvideo, vimc Build targets in project: 86 meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson.build b/meson.build index b6c99ba8e0eb..b3b30327a97c 100644 --- a/meson.build +++ b/meson.build @@ -141,3 +141,6 @@ pkg_mod.generate(libraries : libcamera, filebase : 'camera', description : 'Complex Camera Support Library', subdirs : 'libcamera') + +## Summarise Configurations +message('Enabled pipelines: ' + ', '.join(get_option('pipelines')) )