Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Peter Seiderer <ps.report@gmx.net>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [git commit] package/meson: disable meson wrap downloads
Date: Wed, 10 Nov 2021 22:00:20 +0100	[thread overview]
Message-ID: <20211110210020.GP2084998@scaer> (raw)
In-Reply-To: <20211110200610.63a2ea4e@gmx.net>

Peter, All,

On 2021-11-10 20:06 +0100, Peter Seiderer spake thusly:
> On Wed, 10 Nov 2021 19:37:34 +0100, Yann E. MORIN <yann.morin.1998@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

Ah, so obvious! :-)

I tried both:
    https://mesonbuild.com/Wrap-dependency-system-manual.html
    https://mesonbuild.com/Commands.html

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

Ah, thanks for the reminder. That's too bad I did not spot a
corresponding patch on the list. ;-)

Regards,
Yann E. MORIN.

> 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@gmail.com>
> > [yann.morin.1998@free.fr: add pointer to FAQ]
> > Signed-off-by: Yann E. MORIN <yann.morin.1998@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@buildroot.org
> > https://lists.buildroot.org/mailman/listinfo/buildroot
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2021-11-10 21:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10 18:37 [Buildroot] [git commit] package/meson: disable meson wrap downloads Yann E. MORIN
2021-11-10 19:06 ` Peter Seiderer
2021-11-10 21:00   ` Yann E. MORIN [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211110210020.GP2084998@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=ps.report@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox