diff options
| author | bhimio rice <bhimio@bhimio.xyz> | 2026-11-23 20:35:58 -0500 |
|---|---|---|
| committer | bhimio rice <bhimio@bhimio.xyz> | 2026-11-23 20:51:04 -0500 |
| commit | fca3be703c20767ea3e9f837eaab17ef6199f8e0 (patch) | |
| tree | 187fd888cfbd83479cf112bb8754c9f156b422db /runtime/opus_decoder | |
| parent | 9ec34cdff41b19d7671bc260e5f40dc69790d905 (diff) | |
fix(linux): find a versioned llvm-mc and give Linux install hints
Debian and Ubuntu's llvm-<N> packages install llvm-mc only as llvm-mc-<N>
and /usr/lib/llvm-<N>/bin/llvm-mc. With LLVM_MC unset, the build looked
for the plain name alone and stopped with Windows advice
(scripts\build_llvm_mc.ps1, WSL), while tests/conftest.py already found
the versioned install, so the pytest suites passed where make_game.py
failed.
mc_command() now keeps the plain llvm-mc when it is on PATH (the name a
work folder's disassembly record holds) and otherwise takes the newest
versioned install, by version number. install_hint() gives each OS its
own advice; the preflight, shader_disasm.py and not_found() use it, and
the SPIRV-Tools hint names the distribution package off Windows and macOS.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/opus_decoder')
0 files changed, 0 insertions, 0 deletions