diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-09 17:06:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-11 23:21:27 +0000 |
commit | a40875b7271cc1737cc42b14e185ce4a63662036 (patch) | |
tree | 906f382a3b7dc4067fd4b2ca1b297f427ff72e04 /bitbake/lib/bb/runqueue.py | |
parent | d6eadc937ad2d50cd91bf7eec28f970c1afd9937 (diff) | |
download | poky-a40875b7271cc1737cc42b14e185ce4a63662036.tar.gz |
bitbake: siggen: Drop non-multiconfig aware siggen support
All siggens in common use should now support multiconfig, drop the
compatibility code.
(Bitbake rev: b36545b4df6d935ed312ff407d4e0474c3ed8d1a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index cc36b84781..7451e5c56b 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1245,9 +1245,8 @@ class RunQueueData: | |||
1245 | return len(self.runtaskentries) | 1245 | return len(self.runtaskentries) |
1246 | 1246 | ||
1247 | def prepare_task_hash(self, tid): | 1247 | def prepare_task_hash(self, tid): |
1248 | dc = bb.parse.siggen.get_data_caches(self.dataCaches, mc_from_tid(tid)) | 1248 | bb.parse.siggen.prep_taskhash(tid, self.runtaskentries[tid].depends, self.dataCaches) |
1249 | bb.parse.siggen.prep_taskhash(tid, self.runtaskentries[tid].depends, dc) | 1249 | self.runtaskentries[tid].hash = bb.parse.siggen.get_taskhash(tid, self.runtaskentries[tid].depends, self.dataCaches) |
1250 | self.runtaskentries[tid].hash = bb.parse.siggen.get_taskhash(tid, self.runtaskentries[tid].depends, dc) | ||
1251 | self.runtaskentries[tid].unihash = bb.parse.siggen.get_unihash(tid) | 1250 | self.runtaskentries[tid].unihash = bb.parse.siggen.get_unihash(tid) |
1252 | 1251 | ||
1253 | def dump_data(self): | 1252 | def dump_data(self): |
@@ -2434,8 +2433,7 @@ class RunQueueExecute: | |||
2434 | if self.rqdata.runtaskentries[p].depends and not self.rqdata.runtaskentries[tid].depends.isdisjoint(total): | 2433 | if self.rqdata.runtaskentries[p].depends and not self.rqdata.runtaskentries[tid].depends.isdisjoint(total): |
2435 | continue | 2434 | continue |
2436 | orighash = self.rqdata.runtaskentries[tid].hash | 2435 | orighash = self.rqdata.runtaskentries[tid].hash |
2437 | dc = bb.parse.siggen.get_data_caches(self.rqdata.dataCaches, mc_from_tid(tid)) | 2436 | newhash = bb.parse.siggen.get_taskhash(tid, self.rqdata.runtaskentries[tid].depends, self.rqdata.dataCaches) |
2438 | newhash = bb.parse.siggen.get_taskhash(tid, self.rqdata.runtaskentries[tid].depends, dc) | ||
2439 | origuni = self.rqdata.runtaskentries[tid].unihash | 2437 | origuni = self.rqdata.runtaskentries[tid].unihash |
2440 | newuni = bb.parse.siggen.get_unihash(tid) | 2438 | newuni = bb.parse.siggen.get_unihash(tid) |
2441 | # FIXME, need to check it can come from sstate at all for determinism? | 2439 | # FIXME, need to check it can come from sstate at all for determinism? |