mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
sstate: Add note when performing sstate mirror checks
The build can pause whilst remote sstate mirrors are checked for sstate objects. Inform the user this is happening. (From OE-Core rev: 4f4cfe8a4a0c602d6e11ea9bb75b52241deda9d6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -744,6 +744,7 @@ def sstate_checkhashes(sq_fn, sq_task, sq_hash, sq_hashfn, d, siginfo=False):
|
||||
tasklist.append((task, sstatefile))
|
||||
|
||||
if tasklist:
|
||||
bb.note("Checking sstate mirror object availability (for %s objects)" % len(tasklist))
|
||||
import multiprocessing
|
||||
nproc = min(multiprocessing.cpu_count(), len(tasklist))
|
||||
pool = oe.utils.ThreadedPool(nproc)
|
||||
|
||||
Reference in New Issue
Block a user