All of lore.kernel.org
 help / color / mirror / Atom feed
* [OE-core][PATCH 0/6 v2] add hyperfine recipe, improve ptest-cargo.bbclass
@ 2026-11-25 16:08 Trevor Gamblin
  2026-11-25 16:08 ` [OE-core][PATCH 1/6 v2] hyperfine: add recipe Trevor Gamblin
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Trevor Gamblin @ 2026-11-25 16:08 UTC (permalink / raw)
  To: openembedded-core

Compared to v1, fix the second patch ('hyperfine: add ptest support') to add a
missing Signed-off-by and be more explicit about the AI usage there.

This began as a "simple" attempt to add a recipe for hyperfine [1], which is a
very handy benchmarking tool we could use for statistcal analysis on test
targets. Once the ptests were added in a follow-up to the recipe patch, I
started hitting issues with ptest-cargo.bbclass and the way that we're deploying
test binaries, so the final four commits address that. The last patch changes
the way we invoke chown - if everyone were using Python 3.13 or newer, we could
stick with shutil, but this would break compatibility for older distros.

All of this has been assisted by Claude Opus 5.5, except for
'ptest-cargo.bbclass: improve test binary matching', which I ended up going to
the docs and reading a bit for. I think that one is correct, but if someone has
a better approach, let me know.

[1]: https://github.com/sharkdp/hyperfine

Trevor Gamblin (6):
  hyperfine: add recipe
  hyperfine: add ptest support
  ptest-cargo.bbclass: improve test binary matching
  ptest-cargo.bbclass: run do_install_ptest_cargo as a postfunc
  librsvg: make ptest symlink creation idempotent
  ptest-cargo.bbclass: don't follow symlinks when chowning

 meta/classes-recipe/ptest-cargo.bbclass       |  29 +-
 meta/conf/distro/include/maintainers.inc      |   1 +
 .../distro/include/ptest-packagelists.inc     |   1 +
 ...riding-the-hyperfine-binary-with-HYP.patch |  39 +++
 .../hyperfine/files/run-ptest                 |   7 +
 .../hyperfine/hyperfine-crates.inc            | 274 ++++++++++++++++++
 .../hyperfine/hyperfine_2.0.0.bb              |  32 ++
 meta/recipes-gnome/librsvg/librsvg_2.63.4.bb  |   2 +-
 8 files changed, 369 insertions(+), 16 deletions(-)
 create mode 100644 meta/recipes-devtools/hyperfine/files/0001-tests-allow-overriding-the-hyperfine-binary-with-HYP.patch
 create mode 100644 meta/recipes-devtools/hyperfine/files/run-ptest
 create mode 100644 meta/recipes-devtools/hyperfine/hyperfine-crates.inc
 create mode 100644 meta/recipes-devtools/hyperfine/hyperfine_2.0.0.bb

-- 
2.56.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-11-26 14:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 16:08 [OE-core][PATCH 0/6 v2] add hyperfine recipe, improve ptest-cargo.bbclass Trevor Gamblin
2026-11-25 16:08 ` [OE-core][PATCH 1/6 v2] hyperfine: add recipe Trevor Gamblin
2026-11-26 13:10   ` Paul Barker
2026-11-26 14:42     ` Trevor Gamblin
2026-11-25 16:08 ` [OE-core][PATCH 2/6 v2] hyperfine: add ptest support Trevor Gamblin
2026-11-25 16:08 ` [OE-core][PATCH 3/6 v2] ptest-cargo.bbclass: improve test binary matching Trevor Gamblin
2026-11-25 16:08 ` [OE-core][PATCH 4/6 v2] ptest-cargo.bbclass: run do_install_ptest_cargo as a postfunc Trevor Gamblin
2026-11-25 16:08 ` [OE-core][PATCH 5/6 v2] librsvg: make ptest symlink creation idempotent Trevor Gamblin
2026-11-25 16:08 ` [OE-core][PATCH 6/6 v2] ptest-cargo.bbclass: don't follow symlinks when chowning Trevor Gamblin

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.