Skip to content

Add support for per-multiconfig BBMASK

Joshua Watt bitbake-devel openembedded-core 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest8 patches 1 replyIn review
  2. v48 patches 3 repliesSuperseded
  3. v38 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v28 patches0 repliesSuperseded
v18 patches1 replySuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8bitbake: cooker: Split file collections per multiconfigbitbake/lib/bb/cache.py bitbake/lib/bb/command.py bitbake/lib/bb/cooker.py +4 more+148 -910 replies
2/8bitbake: cache: Use multiconfig aware cachesbitbake/lib/bb/cache.py bitbake/lib/bb/cooker.py+133 -520 replies
3/8bitbake: lib: Add support for Logging Adaptersbitbake/lib/bb/__init__.py+38 -40 replies
4/8bitbake: lib: Add PrefixLoggerAdapter helperbitbake/lib/bb/__init__.py+8 -00 replies
5/8bitbake: cache: Improve loggingbitbake/lib/bb/cache.py+35 -300 replies
6/8bitbake: cache: Cache size optimizationbitbake/lib/bb/cache.py bitbake/lib/bb/cooker.py+19 -110 replies
7/8bitbake: tests: Add tests for BBMASK in multiconfigbitbake/lib/bb/tests/runqueue-tests/conf/bitbake.conf bitbake/lib/bb/tests/runqueue-tests/conf/multiconfig/mc1.conf bitbake/lib/bb/tests/runqueue-tests/conf/multiconfig/mc2.conf +3 more+28 -10 replies
8/8bitbake: command: Move split_mc_pn to runqueuebitbake/lib/bb/command.py bitbake/lib/bb/runqueue.py+7 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [bitbake-devel][PATCH v5 0/8] Add support for per-multiconfig BBMASK

Splits apart the bitbake configuration data and caches so that each defined multiconfig can specify as separate BBMASK independently of the other multiconfigs. This can take multiple forms, such as a BBMASK in a multiconfig .conf file, or BBMASK assignment based on an override (see linked bugzilla for an example).

The most noticeable change is that bitbake now keeps a parsing cache file for each multiconfig instead of a single parsing cache file that caches all multiconfigs.

[YOCTO #13721]

V2: Fixes some syntax errors in tinfoil

V3: Optimizes caches so that each one only caches the files for it's own multiconfig

V4: Fixes compatability with Python < 3.6

    Renames split_pn -> split_mc

V5: Fixes oe-selftest errors

Joshua Watt (8):
bitbake: cooker: Split file collections per multiconfig
bitbake: cache: Use multiconfig aware caches
bitbake: lib: Add support for Logging Adapters
bitbake: lib: Add PrefixLoggerAdapter helper
bitbake: cache: Improve logging
bitbake: cache: Cache size optimization
bitbake: tests: Add tests for BBMASK in multiconfig
bitbake: command: Move split_mc_pn to runqueue

 bitbake/lib/bb/__init__.py                    |  50 +++-
 bitbake/lib/bb/cache.py                       | 228 ++++++++++++------
 bitbake/lib/bb/command.py                     |  45 ++--
 bitbake/lib/bb/cooker.py                      | 159 +++++++-----
 bitbake/lib/bb/runqueue.py                    |  17 +-
 .../bb/tests/runqueue-tests/conf/bitbake.conf |   3 +-
 .../runqueue-tests/conf/multiconfig/mc1.conf  |   1 +
 .../runqueue-tests/conf/multiconfig/mc2.conf  |   1 +
 .../recipes/fails-mc/fails-mc1.bb             |   5 +
 .../recipes/fails-mc/fails-mc2.bb             |   4 +
 bitbake/lib/bb/tests/runqueue.py              |  15 ++
 bitbake/lib/bb/tinfoil.py                     |  24 +-
 bitbake/lib/bblayers/action.py                |  22 +-
 bitbake/lib/bblayers/query.py                 |   4 +-
 14 files changed, 399 insertions(+), 179 deletions(-)
 create mode 100644 bitbake/lib/bb/tests/runqueue-tests/recipes/fails-mc/fails-mc1.bb
 create mode 100644 bitbake/lib/bb/tests/runqueue-tests/recipes/fails-mc/fails-mc2.bb
Signature · 1 line
2.26.2