yuzu-build
Configure, compile, and test Yuzu with the repo's canonical Meson entrypoints and per-OS build directories. Use when validating code changes, selecting test suites, reconfiguring a build directory, or
Files2
View on GitHubSKILL.md.codex/skills/yuzu-build/SKILL.md
GitHubYuzu Build
Start Here
- Use
./scripts/setup.shunless the user explicitly wants rawmeson setup. - Use canonical build directories:
build-linux,build-windows, andbuild-macos. - Use
--testswhen the task needsmeson test. - If
scripts/setup.shreports that a build directory came from another host, re-run with--wipeor a different build directory instead of forcing reuse.
Choose The Path
- On Linux, run
./scripts/setup.sh [--tests]and thenmeson compile -C build-linux. - On macOS, run
./scripts/setup.sh [--tests]and thenmeson compile -C build-macos. - On Windows, invoke
$yuzu-windows-msvcfirst and then usebuild-windows. - Meson resolves the gateway's Erlang/OTP (28.4 or later 28.x) at configure, for the gateway custom target and its tests; source
scripts/ensure-erlang.shonly before runningrebar3orerlby hand.
Choose Tests
- Read
tests/meson.buildto map the change to a suite. - Prefer targeted suites first:
agent,server,echo,proto, anddocs. - Run
meson test -C <builddir> --suite <suite> --print-errorlogs. - Expand to broader coverage only when the change crosses multiple areas or the targeted suite fails unexpectedly.
Invoke Sibling Skills
- Invoke
$yuzu-mesonfor anymeson.build, dependency, or source-list change. - Invoke
$yuzu-protofor any.proto, codegen, or gateway proto mirror change. - Invoke
$yuzu-plugin-abifor SDK or plugin boundary changes. - Invoke
$yuzu-windows-msvcfor any Windows, MSVC, or vcpkg issue.
Read On Demand
scripts/setup.shtests/meson.buildscripts/run-tests.shdocs/windows-build.md