summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/taskdata.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-14 09:11:24 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-15 16:48:12 +0000
commit7593756cbb28bb3c09f6192d22b73ff8b6572638 (patch)
treec49987ec0c77433bb56c0589df55bdf05f3649bc /bitbake/lib/bb/taskdata.py
parent9cb38c1eb54a37ca846585e305f6e85b1db041c8 (diff)
downloadpoky-7593756cbb28bb3c09f6192d22b73ff8b6572638.tar.gz
bitbake: cooker: Improve cache handling
We're seeing issues where the self test, which uses tinfoil doesn't notice the changed contents of include files. The issue is cached_statements in the parser being reused when the files have changed. Whilst looking at this, I realised there were some other issues: * We need to also invalidate the mtime cache when cooker restarts * We should pass full filenames to the file invalidation code * We should process cached_statements as part of inotify invalidation With these fixes, the caching is more reliable for memory resident bitbake too. It does raise some questions about cache validation and lifecycles and indicates bitbake does need more work in the area, preferably with the removal of the globals. This at least highlights and works around some of the current issues. (Bitbake rev: 3f507ff8bc467fba936cf3f31bb8ea8e02f168e8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/taskdata.py')
0 files changed, 0 insertions, 0 deletions