llvm-ar and the like, which
the cross presets use, and llvm-objdump, which a test reads an object with), CMake ≥3.28, Ninja, POSIX shell, GNU
make (gmake on FreeBSD),
NASM on x86-64, Perl, Python 3 (the menu's languages, SPIRV-Tools' build), Git, pkg-config, patch and meson
(dav1d's build). Use a system SDL3 development package, or X11/Wayland and audio development libraries for the
bundled SDL3 build.deps/tools.glslangValidator compiles them at build time (CMake fetches its pinned release on Linux
x86-64, Windows x86-64 and macOS; elsewhere it takes the system's glslang), and SPIRV-Tools' spirv-opt and
spirv-val optimize and validate them (cmake/glsl.cmake). Those two are the SPIRV-Tools release CMake pins, built
from source for the machine doing the build, which needs Python 3 (cmake/spirv_tools.cmake).
-DSPIRV-Tools_FORCE_SYSTEM=ON takes the system's instead, which must then be that release or newer, and
-DSNX_SPIRV_OPT, -DSNX_SPIRV_VAL and -DSNX_SPIRV_DIS (the tests' disassembler) name others.ccache, or sccache when ccache is not found, makes a cold build after a
clean faster. The build works without either.cmake/dav1d.cmake). Without meson the configure says so
and the runtime plays AV1 movies black; -DSNX_DAV1D=OFF leaves it out.Made from docs/dev/build.md at 69237645142c. GPL-3.0-or-later.