Skip to content
Commit 9ca41283 authored by Tom Pollard's avatar Tom Pollard
Browse files

Provide configuration for the optional creation of buildtrees

Artifacts can cached explicitly with an empty `build tree` when
built via the cli main options or user config. Default behaviour
is to still create and cache expected buildtrees.

element.py: _cache_artifact() Check if context for
dont_cache_buildtrees has been set to true, if so skip attempting
to export the build-root. Element types without a build-root are
cached with an empty buildtree regardless. Update
_stage_sources_at() to warn the user that the buildtree import is
empty.

tests/integration: Add test to artifact.py for the optional caching
of buildtree content from bst build. Rename build-tree.py to
shellbuildtrees.py to reflect included test cases, add test for
empty buildtree warning.

NEWS: Add entry for new option.
parent 20c95856
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment