Commits on Source (12)
-
richardmaw-codethink authored
This commit introduces BST_STAGE_INTEGRATES as a compatibility flag, so Elements can set it to false to signal that integrate_dependency_artifacts should be called. This will be needed to implement staging multiple elements, since the integration commands for all elements need to be called after all dependencies are staged.
-
richardmaw-codethink authored
This ensures Element.integrate_dependency_artifacts is called after stage when BST_STAGE_INTEGRATES hasn't been set to False.
-
richardmaw-codethink authored
This takes the liberty of splitting the layout handling code paths into separate methods to reduce the amount of nested conditionals with the aim of improving readability.
-
richardmaw-codethink authored
This is mostly just marking which elements work as expected from changes to their base class. Junction and Filter elements expect overriding stage to be sufficient to prevent it doing anything in those contexts, and since we're not intending to deprecate BST_STAGE_INTEGRATES elements there's no harm in them continuing to do so when they aren't expected to work in contexts we require BST_STAGE_INTEGRATES to be False.
-
richardmaw-codethink authored
-
richardmaw-codethink authored
There's redundancy in pre-staging sandbox creation logic with Element._sandbox doing something similar, but hopefully not too much.
-
richardmaw-codethink authored
-
richardmaw-codethink authored
-
richardmaw-codethink authored
-
richardmaw-codethink authored
-
richardmaw-codethink authored
-
richardmaw-codethink authored
Showing
- NEWS 6 additions, 0 deletionsNEWS
- buildstream/_frontend/app.py 1 addition, 1 deletionbuildstream/_frontend/app.py
- buildstream/_frontend/cli.py 31 additions, 11 deletionsbuildstream/_frontend/cli.py
- buildstream/_stream.py 115 additions, 12 deletionsbuildstream/_stream.py
- buildstream/buildelement.py 8 additions, 7 deletionsbuildstream/buildelement.py
- buildstream/data/userconfig.yaml 1 addition, 1 deletionbuildstream/data/userconfig.yaml
- buildstream/element.py 57 additions, 82 deletionsbuildstream/element.py
- buildstream/plugins/elements/autotools.py 2 additions, 0 deletionsbuildstream/plugins/elements/autotools.py
- buildstream/plugins/elements/cmake.py 2 additions, 0 deletionsbuildstream/plugins/elements/cmake.py
- buildstream/plugins/elements/compose.py 8 additions, 4 deletionsbuildstream/plugins/elements/compose.py
- buildstream/plugins/elements/distutils.py 2 additions, 1 deletionbuildstream/plugins/elements/distutils.py
- buildstream/plugins/elements/filter.py 1 addition, 1 deletionbuildstream/plugins/elements/filter.py
- buildstream/plugins/elements/import.py 6 additions, 1 deletionbuildstream/plugins/elements/import.py
- buildstream/plugins/elements/junction.py 1 addition, 1 deletionbuildstream/plugins/elements/junction.py
- buildstream/plugins/elements/make.py 2 additions, 0 deletionsbuildstream/plugins/elements/make.py
- buildstream/plugins/elements/makemaker.py 2 additions, 1 deletionbuildstream/plugins/elements/makemaker.py
- buildstream/plugins/elements/manual.py 2 additions, 0 deletionsbuildstream/plugins/elements/manual.py
- buildstream/plugins/elements/meson.py 2 additions, 0 deletionsbuildstream/plugins/elements/meson.py
- buildstream/plugins/elements/modulebuild.py 2 additions, 1 deletionbuildstream/plugins/elements/modulebuild.py
- buildstream/plugins/elements/pip.py 2 additions, 1 deletionbuildstream/plugins/elements/pip.py