[libcamera-devel] [PATCH v2] meson: Provide build configuration summary
Niklas Söderlund
niklas.soderlund at ragnatech.se
Sat Sep 5 10:48:20 CEST 2020
Hi Kieran,
On 2020-09-04 12:17:02 +0100, Kieran Bingham wrote:
> 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 <kieran.bingham at ideasonboard.com>
With the typos pointed out by Laurent fixed,
Reviewed-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>
> ---
>
> 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')) )
> --
> 2.25.1
>
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel at lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel
--
Regards,
Niklas Söderlund
More information about the libcamera-devel
mailing list