From: Gary Thomas <gary@mlbassoc.com>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: Dualing downloads
Date: Thu, 10 Mar 2016 14:51:19 +0100 [thread overview]
Message-ID: <56E17BD7.1070503@mlbassoc.com> (raw)
In-Reply-To: <20160310135128.GH2573@jama>
On 2016-03-10 14:51, Martin Jansa wrote:
> On Thu, Mar 10, 2016 at 02:21:42PM +0100, Gary Thomas wrote:
>> If I have a package X that depends on X-native and they build
>> from the same sources, doesn't the fetch step duplicate effort
>> if the sources need to be downloaded from scratch? I just saw
>> this [appear to] happen and it's not clear if the sources were
>> downloaded once or twice.
>
> The first one should create the lock file and second fetch task should
> just reuse the already downloaded source.
>
> Otherwise sharing whole downloads directory between multiple builders
> wouldn't work as well.
>
That's great, thanks
>> I this is the case, perhaps if X depends on X-native then X.fetch
>> should depend on X-native.fetch so then download happens only once?
>> Or is that too hard to detect?
>>
>> For many packages (and fast network links) this probably isn't an
>> issue, but I could imagine some very large packages simply wasting
>> network bandwidth.
>>
>> Note: I'm happy if I'm wrong about this, it just jumped out at me.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
prev parent reply other threads:[~2016-03-10 13:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-10 13:21 Dualing downloads Gary Thomas
2016-03-10 13:51 ` Martin Jansa
2016-03-10 13:51 ` Gary Thomas [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=56E17BD7.1070503@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=martin.jansa@gmail.com \
--cc=yocto@yoctoproject.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.