summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-06-04 15:25:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-06-07 13:45:43 +0100
commitfd250d236ae8aae38d51e8cb0d41b45602ec1b4a (patch)
treead3b6725177aae890f8bc4beeaeea08bb230278f /bitbake/lib/bb/runqueue.py
parent6208d986bc9afead6502e8f73431db7662c3e27b (diff)
downloadpoky-fd250d236ae8aae38d51e8cb0d41b45602ec1b4a.tar.gz
bitbake: runqueue: Avoid save_unitaskhashes
The save comes with an IO overhead which can slow down the rehash loop in bitbake a lot. We only needed to do this when recipes were doing unihash cache copying. Now they aren't doing that, drop this IO pain point. (Bitbake rev: dfc15ef99302dea22a051c9eb8398ffd5cf1fc20) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 93079a9776..3462ed4457 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -2550,9 +2550,6 @@ class RunQueueExecute:
2550 self.rqdata.runtaskentries[hashtid].unihash = unihash 2550 self.rqdata.runtaskentries[hashtid].unihash = unihash
2551 bb.parse.siggen.set_unihash(hashtid, unihash) 2551 bb.parse.siggen.set_unihash(hashtid, unihash)
2552 toprocess.add(hashtid) 2552 toprocess.add(hashtid)
2553 if torehash:
2554 # Need to save after set_unihash above
2555 bb.parse.siggen.save_unitaskhashes()
2556 2553
2557 # Work out all tasks which depend upon these 2554 # Work out all tasks which depend upon these
2558 total = set() 2555 total = set()