diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-06-27 15:13:45 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-01 13:53:23 +0100 |
| commit | 0d49931755886d859e2d109eef810f58f98f2cbb (patch) | |
| tree | a9f6886bcf3e17f7338a424bc4fa87c631005164 /scripts/lib/argparse_oe.py | |
| parent | 058465859ed5a62997bb9424e8eb88b543f43a86 (diff) | |
| download | poky-0d49931755886d859e2d109eef810f58f98f2cbb.tar.gz | |
bitbake: codeparser/data: Ensure module function contents changing is accounted for
Currently, if a pylib function changes contents, the taskhash remains
unchanged since we assume the functions have stable output. This is
probably a poor assumption so take the code of the function into account
in the taskhashes. This avoids certain frustrating build failures we've
been seeing in automated testing.
To make this work we have to add an extra entry to the python code parsing
cache so that we can store the hashed function contents for efficiency as
in the python module case, that isn't used as the key to the cache.
The cache version changes since we're adding data to the cache.
(Bitbake rev: b2c3438ebe62793ebabe2c282534893908d520b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/argparse_oe.py')
0 files changed, 0 insertions, 0 deletions
