From: "Sourabh Banerjee" <sbanerje@codeaurora.org>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [bitbake][PATCH 1/3] bitbake: fetch2/repo: add support for projects to be fetched simultaneously
Date: Sun, 16 May 2021 18:49:59 +0530 [thread overview]
Message-ID: <bd868458d834e5096130ebd4cde0ce59@codeaurora.org> (raw)
In-Reply-To: <6ecd0c9a94ec2d2ab907dac32bae6bb6b47e3664.camel@linuxfoundation.org>
On 2021-05-16 18:10, Richard Purdie wrote:
> On Sun, 2021-05-16 at 16:53 +0530, Sourabh Banerjee wrote:
>> repo tool can fetch projects simultaneously.
>> As per repo sync documentation:
>> Usage: repo sync [<project>...]
>> Options:
>> -j JOBS, --jobs=JOBS projects to fetch simultaneously (default 1)
>>
>> By supplying jobs=<some_number> recipe can choose to use the
>> simultaneous fetch feature of repo tool.
>> Example:
>> SRC_URI =
>> "repo://REPOROOT;protocol=git;branch=main;manifest=default.xml;jobs=8"
>>
>> Signed-off-by: Sourabh Banerjee <sbanerje@codeaurora.org>
>> ---
>> bitbake/lib/bb/fetch2/repo.py | 12 +++++++++++-
>> 1 file changed, 11 insertions(+), 1 deletion(-)
>
> Does this value make sense as a per repository setting or an overall
> build setting?
Hi Richard,
The '--jobs' option for the repo tool parallelizes fetch w.r.t
manifest.xml.
For example, if there are 8 projects listed in a manifest.xml then
passing-j4
will run 4 parallel jobs fetching 4 projects simultaneously at a time.
So it is related to whole manifest being operated upon by the repo tool.
>
> Cheers,
>
> Richard
--
Regards,
Sourabh
prev parent reply other threads:[~2021-05-16 13:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-16 11:23 [bitbake][PATCH 1/3] bitbake: fetch2/repo: add support for projects to be fetched simultaneously Sourabh Banerjee
2021-05-16 11:23 ` [bitbake][PATCH 2/3] bitbake: fetch2/repo: add support for sync specific projects Sourabh Banerjee
2021-05-16 11:23 ` [bitbake][PATCH 3/3] bitbake: fetch2/repo: add support for --repo-url and --repo-branch Sourabh Banerjee
2021-05-16 12:43 ` [OE-core] " Richard Purdie
2021-05-16 14:10 ` Sourabh Banerjee
2021-05-16 12:40 ` [OE-core] [bitbake][PATCH 1/3] bitbake: fetch2/repo: add support for projects to be fetched simultaneously Richard Purdie
2021-05-16 13:19 ` Sourabh Banerjee [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=bd868458d834e5096130ebd4cde0ce59@codeaurora.org \
--to=sbanerje@codeaurora.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=richard.purdie@linuxfoundation.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.