roadmap BUILT

907. hackbench is packaged in basalt, and its test installs it with jig

(Minted 2026-10-12 (UTC) by lane maintainer/foreign-programs-via-jig, under §297 (software reaches a nife system as a package jig installs from basalt's index, the kernel included). The number is provisional until the merge queue lands it; 905 was held by #2022 and 906 by this lane's ioping block when this was written. The title and slug are drafts.)

BUILT, 2026-10-17 (UTC). basalt builds hackbench from a recipe that pins hackbench.c by SHA-256 and publishes one package per architecture. nife builds no hackbench. On all three architectures under QEMU, swish-check types jig install hackbench against basalt's package and runs the installed program's thread mode, and the kernel suite runs both of c_thread_tests' hackbench runs on the same bytes. The recipe pins each architecture's package digest, as milestone 917 built. "Built" below has the rest.

calef, 2026-10-12 (UTC): "They should all be installed via jig through basalt. I missed that for our benchmarking tools, so I created debt by prioritizing them first." This is that debt for hackbench, on the pattern of milestone 810 (ripgrep is packaged in basalt and installed with jig) and milestone 897 (SQLite is packaged in basalt, and its tests run in basalt's package build).

What existed, checked 2026-10-12 (UTC)

Nothing on main yet. hackbench's helper arrives with #2009, milestone 836 (a C library, stage 2: threads), which was open and unmerged when this was written. On that branch:

Milestone 827 (hackbench on nife and Linux, as a scheduler benchmark and a multicore soak) runs the same program on silicon, and from 2026-10-12 its exit needs the package this milestone builds.

The work

  1. A recipe in nifeos/basalt naming rt-tests 2.11's hackbench.c, its source URL and the SHA-256 the helper pins. The build refuses a download that does not match.
  2. basalt's package build turns the helper into a build job at the nife commit pins.toml names. It links against that commit's C library with threads, once for each architecture (§19 (architectural parity is a tenet; the targets are aarch64, riscv64, and x86_64)).
  3. The manifest note, written by basalt's build through the writer milestone 810 builds.
  4. The package, vouched for and published as item 4 of milestone 906 states.
  5. The test moves behind jig install hackbench: c_thread_tests.rs installs the package before it runs the program, or the test moves into basalt's package build as milestone 897 moves SQLite's.
  6. When the package is the only source, helpers/build-hackbench.sh and the archive's packing of target/hackbench/ leave this tree.

Built 2026-10-14 (UTC)

Lane milestone/907-hackbench-is-packaged-in-basalt, with nifeos/basalt#21.

Exit

On aarch64, riscv64 and x86_64: a nife at basalt's pinned commit runs jig install hackbench against basalt's index, the archive's digest matches the recipe, and the installed hackbench passes the run c_thread_tests.rs makes of the helper-built one. A recipe whose checksum disagrees with the download fails basalt's build.

Reuse: the helper's pinned fetch and flags and milestone 810's recipe, build job and publishing, moved rather than rewritten.

The package's digest, checked 2026-10-19 (UTC)

BUGS

Follow-on

Index row

hackbench built by basalt from a pinned source and installed on nife by jig, so the scheduler benchmark milestone 827 runs is a package and not a helper-built binary.