commit | ed54c7322009cfa197b69dd9e7a8a506235bf3d2 | [log] [tgz] |
---|---|---|
author | Sander Striker <s.striker@striker.nl> | Fri Jul 10 23:55:56 2020 +0200 |
committer | Sander Striker <s.striker@striker.nl> | Fri Jul 10 23:57:59 2020 +0200 |
tree | 1f2d85489760fb95192db7d892197c9b83285a1d | |
parent | 7ff7fb5cde1b491c2e2a321b705d695f48980cfe [diff] |
Add mechanism for elements to opt-out of buildtrees. * src/buildstream/element.py (Element.BST_NEVER_CACHE_BUILDTREES): New class variable to indicate whether buildtrees are prohibited. (Element._assemble, Element._cache_artifact): Take BST_NEVER_CACHE_BUILDTREES into account