Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <antonin.godard@bootlin.com>, <openembedded-core@lists.openembedded.org>
Cc: "Thomas Petazzoni" <thomas.petazzoni@bootlin.com>
Subject: Re: [OE-core] [PATCH v2] zstd: add bench, compress, dict, trace to PACKAGECONFIG
Date: Sat, 28 Nov 2026 08:59:53 +0100	[thread overview]
Message-ID: <DN6OOO02WE44.VU0IH0EZ2QPY@bootlin.com> (raw)
In-Reply-To: <20261127-zstd-1-6-0-v2-1-37210d2fc042@bootlin.com>

On Fri Nov 27, 2026 at 11:25 AM CET, Antonin Godard via openembedded-core wrote:
> Add some PACKAGECONFIG knobs matching zstd's configuration knobs:
>
> - bench toggles the integrated benchmark module (now disabled by default)
> - compress toggles zstd compression support (enabled by default)
> - dict compiles zstd with support for the integrated dictionary builder
>   (now disabled by default)
> - trace can display a stack backtrace when execution
>   generates a runtime exception (now disabled by default)
>
> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
> ---
> Changes in v2:
> - Patch 1/2 was merged.
> - Adjust PACKAGECONFIG options names and the ones enabled by default.
> - My mistake, but some options have to be passed in MOREFLAGS with Zstd,
>   so define it at the recipe-level and set it based on PACKAGECONFIG.
> - Link to v1: https://patch.msgid.link/20261125-zstd-1-6-0-v1-0-95f50c6b9de6@bootlin.com
> ---

Hi Antonin,

Thanks for the new version.

It looks like disabling features breaks the associated ptests:

Failed ptests:
{'zstd': ['dict-builder/empty-input.sh',
          'dict-builder/empty-input.sh.check_exit',
          'dict-builder/empty-input.sh.check_stderr',
          'dict-builder/no-inputs.sh',
          'dict-builder/no-inputs.sh.check_exit',
          'dict-builder/no-inputs.sh.check_stderr',
          'dict-builder/sample-count-overflow.sh',
          'dict-builder/sample-count-overflow.sh.check_exit',
          'basic/bench-decompress-multiple.sh',
          'basic/bench-decompress-multiple.sh.check_exit',
          'cli-tests']}

https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/1659
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/5024

Can you have a look at the issue?

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


      reply	other threads:[~2026-11-28  8:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 10:25 [PATCH v2] zstd: add bench, compress, dict, trace to PACKAGECONFIG Antonin Godard
2026-11-28  7:59 ` Mathieu Dubois-Briand [this message]

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=DN6OOO02WE44.VU0IH0EZ2QPY@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=antonin.godard@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox