On Tue, 2026-05-12 at 19:01 +0200, Jérémie Dautheribes via
lists.openembedded.org wrote:
>
> objset.objects.add(objset.doc)
> - with dest.open("wb") as f:
> - serializer.write(objset, f, force_at_graph=True)
> +
> + if dest.name.endswith(".zst"):
> + num_threads = int(d.getVar("BB_NUMBER_THREADS"))
> + with bb.compress.zstd.open(dest, "w", num_threads=num_threads) as f:
This should be derived from PARALLEL_MAKE, not BB_NUMBER_THREADS.
The latter is how many tasks bitbake runs in parallel, the former is
how many threads the task should have.
There is a function somewhere which extracts the number of jobs from
PARALLEL_MAKE...
Cheers,
Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#236913):
https://lists.openembedded.org/g/openembedded-core/message/236913
Mute This Topic: https://lists.openembedded.org/mt/119282964/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-