diff options
author | Tristan van Berkom <tristan.vanberkom@codethink.co.uk> | 2020-08-20 14:35:57 +0900 |
---|---|---|
committer | Tristan van Berkom <tristan.vanberkom@codethink.co.uk> | 2020-08-20 18:42:47 +0900 |
commit | 41a7129139cd578876b3aefa08d9326cf789e38d (patch) | |
tree | 92bd1ef044351bd29fd37fa33268d985173ae00b /setup.cfg | |
parent | 2e61b22df4ea5624d6368ca64103c78640744f58 (diff) | |
download | buildstream-41a7129139cd578876b3aefa08d9326cf789e38d.tar.gz |
buildstream/element.py: Consider "build-root" variable in the cache key unconditionallytristan/build-root-cache-key
Not all elements use the "build-root" variable, but it is the standard
variable to use for the build directory, and the build directory must
be considered in the cache key.
Handling this unilaterally in the core is safer than delegating this
to element implementations, as we have less chance of plugin authors
missing this detail and possibly introducing binary variance for
artifacts where only the build directory differs (something which
happens when the project name or element names change).
This commit also updates the hard coded cache keys in the cache key
test, so as to ensure every commit passes it's own tests.
This fixes #1386.
Diffstat (limited to 'setup.cfg')
0 files changed, 0 insertions, 0 deletions