Files
gentoo-zh/.github/workflows
Zakk 24a9fe389a .github/workflows/emerge-on-pr.yml: build the target with the runner's CPU flags
Packages that need x86-64-v2 or v3 declare it with REQUIRED_USE on
cpu_flags_x86_*, as ::gentoo does for dev-util/claude-code and
games-emulation/pcsx2. The profile only enables the baseline flags, so
these packages failed CI with an unsatisfied REQUIRED_USE.

Give the target package the flags of the runner, the way the wiki page
CPU_FLAGS_* and toralf/tinderbox (bin/setup_img.sh) configure it with
cpuid2cpuflags, but scoped to the target atom so dependencies keep the
baseline flags and still come from the binhost.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-09-30 21:24:42 +10:00
..