summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-08-12 15:33:53 -0400
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2019-08-31 15:05:52 +0300
commitcc51e4a2d4f338b4dd49337432170b4e30ebe8d0 (patch)
treefac8b257e41be6deca3e69d99ab786636bc329b4 /doc
parent0ca33d853ec19ce8243e45295cc1acaed3724614 (diff)
downloadbuildstream-cc51e4a2d4f338b4dd49337432170b4e30ebe8d0.tar.gz
Implement strict dependency semantics
This patch allows specifying a dependency as `strict`, e.g.: build-depends: - filename: element.bst strict: true This allows finer tuning of projects which want to leverage the non-strict build mode; dependencies which are statically linked to, or who's content is otherwise included verbatim in the resulting output, should be marked `strict` to ensure these bits get reassembled if necessary when building in non-strict mode. This fixes #254 Change summary: o _loader/loadelement.pyx: Added 'strict' attribute to Dependency o _loader/types.pyx: Added 'strict' attribute to Dependency do the parsing work. o _loader/metaelement.py: Added 'strict_dependencies' list o _loader/loader.py: Resolve the 'strict_dependencies' list o element.py: Added __strict_dependencies list, and use this to conditionally use weak cache keys in place of names for the purpose of building the weak cache key (in the case of dependencies which are marked as strict).
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions