/openbmc/openbmc/poky/bitbake/lib/hashserv/ |
H A D | tests.py | 137 return taskhash, outhash, unihash 303 taskhash = hashlib.sha256() 305 taskhash = taskhash.hexdigest() 307 if result != taskhash: 314 taskhash = hashlib.sha256() 315 taskhash.update(str(i).encode('utf-8')) 316 taskhash = taskhash.hexdigest() 317 self.client.report_unihash(taskhash, self.METHOD, taskhash, taskhash) 371 check_hash(taskhash, unihash, None) 379 check_hash(taskhash, unihash, unihash) [all …]
|
H A D | sqlalchemy.py | 45 taskhash = Column(Text, nullable=False) variable in UnihashesV3 60 taskhash = Column(Text, nullable=False) variable in OuthashesV2 252 UnihashesV3.taskhash == OuthashesV2.taskhash, 257 OuthashesV2.taskhash == taskhash, 274 UnihashesV3.taskhash == OuthashesV2.taskhash, 322 UnihashesV3.taskhash == OuthashesV2.taskhash, 328 OuthashesV2.taskhash != taskhash, 346 UnihashesV3.taskhash == taskhash, 431 UnihashesV3.taskhash == OuthashesV2.taskhash, 447 taskhash=taskhash, [all …]
|
H A D | client.py | 91 async def get_unihash(self, method, taskhash): argument 97 async def report_unihash(self, taskhash, method, outhash, unihash, extra={}): argument 99 m["taskhash"] = taskhash 105 async def report_unihash_equiv(self, taskhash, method, unihash, extra={}): argument 107 m["taskhash"] = taskhash 112 async def get_taskhash(self, method, taskhash, all_properties=False): argument 114 {"get": {"taskhash": taskhash, "method": method, "all": all_properties}} 121 async def get_outhash(self, method, outhash, taskhash, with_unihash=True): argument 126 "taskhash": taskhash, 326 method, taskhash = args [all …]
|
H A D | server.py | 324 taskhash = request["taskhash"] 327 return await self.get_unihash(method, taskhash, fetch_all) 340 row = await self.db.get_equivalent(method, taskhash) 354 taskhash = request["taskhash"] 415 (method, taskhash) = l.split() 417 row = await self.db.get_equivalent(method, taskhash) 450 taskhash = data["taskhash"] 452 info = await self.get_outhash(method, outhash, taskhash) 459 "taskhash": taskhash, 859 method, taskhash = item [all …]
|
H A D | sqlite.py | 227 async def get_unihash_by_taskhash_full(self, method, taskhash): argument 239 "taskhash": taskhash, 290 async def get_equivalent_for_outhash(self, method, outhash, taskhash): argument 305 "taskhash": taskhash, 310 async def get_equivalent(self, method, taskhash): argument 316 "taskhash": taskhash, 417 async def insert_unihash(self, method, taskhash, unihash): argument 432 "taskhash": taskhash,
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | siggen.py | 78 self.taskhash = {} 121 return self.taskhash[tid] 131 return self.taskhash[tid] 225 self.taskhash = {} 405 self.taskhash[tid] = h 503 if tid in self.taskhash: 623 if tid in self.taskhash: 654 taskhash = self.taskhash[tid] 659 return taskhash 751 taskhash = self.taskhash[tid] [all …]
|
H A D | cache.py | 230 for task, taskhash in self.basetaskhashes.items(): 232 cachedata.basetaskhash[identifier] = taskhash
|
H A D | runqueue.py | 2444 taskhash = self.rqdata.runtaskentries[task].hash 2448 taskdepdata_cache[task] = [pn, taskname, fn, deps, provides, taskhash, unihash, hashfn] 2812 taskhash = self.rqdata.runtaskentries[revdep].hash 2815 taskdepdata[revdep] = [pn, taskname, fn, deps, provides, taskhash, unihash, hashfn] 3147 self.taskhash = rq.rqdata.get_task_hash(task) 3160 self.taskhash = rq.rqdata.get_task_hash(task)
|
/openbmc/openbmc/poky/bitbake/bin/ |
H A D | bitbake-hashclient | 56 result = client.get_taskhash(args.method, args.taskhash, all_properties=True) 64 result = client.get_outhash(args.method, args.outhash, args.taskhash) 87 taskhash = hashlib.sha256() 88 taskhash.update(args.taskhash_seed.encode('utf-8')) 89 taskhash.update(str(i).encode('utf-8')) 92 l = client.get_unihash(METHOD, taskhash.hexdigest()) 128 taskhash = hashlib.sha256() 129 taskhash.update(args.taskhash_seed.encode('utf-8')) 130 taskhash.update(str(i).encode('utf-8')) 136 … client.report_unihash(taskhash.hexdigest(), METHOD, outhash.hexdigest(), taskhash.hexdigest())
|
H A D | bitbake-worker | 151 taskhash = runtask['taskhash'] 269 the_data.setVar('BB_TASKHASH', taskhash)
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | sstatesig.py | 244 if tid not in self.taskhash: 264 for taskitem in self.taskhash: 267 tasks.append((pn, task, strip_fn(fn), self.taskhash[taskitem])) 268 for (pn, task, fn, taskhash) in sorted(tasks): 269 f.write('%s:%s %s %s\n' % (pn, task, fn, taskhash)) 395 for taskhash in taskhashlist: 396 if fullpath.endswith('.%s' % taskhash): 397 … hashfiles[taskhash] = {'path':fullpath, 'sstate':False, 'time':get_time(fullpath)}
|
/openbmc/openbmc/poky/meta/recipes-core/meta/ |
H A D | meta-extsdk-toolchain.bb | 19 # If a taskhash changes we need to use the latest hash changes. With unihash we may not rebuild.
|
/openbmc/openbmc/poky/meta/classes-global/ |
H A D | staging.bbclass | 506 taskhash = setscenedeps[dep][5] 507 taskmanifest = depdir + "/" + c + "." + taskhash 511 if lnk == c + "." + taskhash and os.path.exists(depdir + "/" + c + ".complete"): 514 …bb.note("%s exists in sysroot, but is stale (%s vs. %s), removing." % (c, lnk, c + "." + taskhash)) 528 taskhash = setscenedeps[dep][5] 529 taskmanifest = depdir + "/" + c + "." + taskhash 533 if lnk == c + "." + taskhash and os.path.exists(depdir + "/" + c + ".complete"): 539 os.symlink(c + "." + taskhash, depdir + "/" + c)
|
H A D | sstate.bbclass | 1339 # it is stable (e.g. taskhash doesn't match). With that list we can go through
|
/openbmc/openbmc/poky/bitbake/lib/bb/ui/ |
H A D | buildinfohelper.py | 867 self.taskhash = None 975 task_information['sstate_checksum'] = event.taskhash 1308 … for (fn, taskname, taskhash, sstatefile) in BuildInfoHelper._get_data_from_event(event)['missed']: 1315 mevent.taskhash = taskhash 1320 task_information['sstate_checksum'] = taskhash 1326 … for (fn, taskname, taskhash, sstatefile) in BuildInfoHelper._get_data_from_event(event)['found']: 1333 mevent.taskhash = taskhash
|