From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: jeremie.dautheribes@bootlin.com,
openembedded-core@lists.openembedded.org
Cc: miquel.raynal@bootlin.com, thomas.petazzoni@bootlin.com,
benjamin.robin@bootlin.com
Subject: Re: [OE-core][PATCH 2/2] spdx3: support SBOM compression based on SPDX_SBOM_EXT
Date: Tue, 12 May 2026 20:54:25 +0100 [thread overview]
Message-ID: <c4907f3fbd465de7394dbee68de56dfca2555191.camel@linuxfoundation.org> (raw)
In-Reply-To: <20260512-sbom-zstd-support-v1-2-93273381d548@bootlin.com>
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
next prev parent reply other threads:[~2026-05-12 19:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-12 17:01 [OE-core][PATCH 0/2] spdx3: support SBOM compression with Zstd Jérémie Dautheribes (Schneider Electric )
2026-05-12 17:01 ` [OE-core][PATCH 1/2] spdx3: introduce SPDX_SBOM_EXT variable Jérémie Dautheribes (Schneider Electric )
2026-05-12 22:24 ` Joshua Watt
2026-05-12 17:01 ` [OE-core][PATCH 2/2] spdx3: support SBOM compression based on SPDX_SBOM_EXT Jérémie Dautheribes (Schneider Electric )
2026-05-12 19:54 ` Richard Purdie [this message]
2026-05-12 22:27 ` Joshua Watt
2026-05-12 22:29 ` Joshua Watt
2026-05-13 7:07 ` Benjamin Robin
2026-05-13 7:35 ` Jérémie Dautheribes
2026-05-13 7:18 ` Benjamin Robin
2026-05-13 7:47 ` Jérémie Dautheribes
2026-05-13 8:02 ` Peter Kjellerstedt
[not found] ` <18AF106AF6BDC73B.3227972@lists.openembedded.org>
2026-05-13 8:03 ` Jérémie Dautheribes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c4907f3fbd465de7394dbee68de56dfca2555191.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=benjamin.robin@bootlin.com \
--cc=jeremie.dautheribes@bootlin.com \
--cc=miquel.raynal@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.