[Buildroot] [git commit] package/meson: disable meson wrap downloads

Peter Seiderer ps.report at gmx.net
Wed Nov 10 19:06:10 UTC 2021


On Wed, 10 Nov 2021 19:37:34 +0100, Yann E. MORIN <yann.morin.1998 at free.fr> wrote:

> commit: https://git.buildroot.net/buildroot/commit/?id=12ba3563655e3ebab252e52daa6c710864fa869f
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
>
> We don't want to allow meson to download wrap dependencies as this
> bypasses buildroot's dependency resolution.
>
> This is badly documented in the meson manual, but there is at least
> an FAQ that refers to it:
>
>     https://mesonbuild.com/FAQ.html#does-wrap-download-sources-behind-my-back

https://mesonbuild.com/Subprojects.html#commandline-options

And [1] and [2] for some past time buildroot discussion on it...

Regards,
Peter

[1] http://lists.busybox.net/pipermail/buildroot/2019-December/572391.html
[2]http://lists.busybox.net/pipermail/buildroot/2019-December/572391.html

>
>     Meson has a option called wrap-mode which can be used to disable
>     wrap downloads altogether with --wrap-mode=nodownload.
>
> Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
> [yann.morin.1998 at free.fr: add pointer to FAQ]
> Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
> ---
>  package/meson/cross-compilation.conf.in | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/package/meson/cross-compilation.conf.in b/package/meson/cross-compilation.conf.in
> index 37b49eea3b..7a7ece97ae 100644
> --- a/package/meson/cross-compilation.conf.in
> +++ b/package/meson/cross-compilation.conf.in
> @@ -17,6 +17,7 @@ c_args = [@TARGET_CFLAGS@]
>  c_link_args = [@TARGET_LDFLAGS@]
>  cpp_args = [@TARGET_CXXFLAGS@]
>  cpp_link_args = [@TARGET_LDFLAGS@]
> +wrap_mode = 'nodownload'
>
>  [properties]
>  needs_exe_wrapper = true
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot



More information about the buildroot mailing list