<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/tools/mc_command.py, branch docs/pso-cache-scope-note</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=docs%2Fpso-cache-scope-note</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=docs%2Fpso-cache-scope-note'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-11-24T01:51:04+00:00</updated>
<entry>
<title>fix(linux): find a versioned llvm-mc and give Linux install hints</title>
<updated>2026-11-24T01:51:04+00:00</updated>
<author>
<name>bhimio rice</name>
<email>bhimio@bhimio.xyz</email>
</author>
<published>2026-11-24T01:35:58+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=fca3be703c20767ea3e9f837eaab17ef6199f8e0'/>
<id>urn:sha1:fca3be703c20767ea3e9f837eaab17ef6199f8e0</id>
<content type='text'>
Debian and Ubuntu's llvm-&lt;N&gt; packages install llvm-mc only as llvm-mc-&lt;N&gt;
and /usr/lib/llvm-&lt;N&gt;/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 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Document Windows LLVM_MC argument quoting</title>
<updated>2026-11-22T21:09:27+00:00</updated>
<author>
<name>DanielDeGiorgio</name>
<email>degiorgiodaniel1808@gmail.com</email>
</author>
<published>2026-11-22T21:09:27+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=db44a3d32d5119e06485cd543be329ac1fcac63f'/>
<id>urn:sha1:db44a3d32d5119e06485cd543be329ac1fcac63f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Preserve literal quotes in LLVM command arguments</title>
<updated>2026-11-22T20:31:21+00:00</updated>
<author>
<name>DanielDeGiorgio</name>
<email>102986566+DanielDeGiorgio@users.noreply.github.com</email>
</author>
<published>2026-11-22T20:31:21+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=6566ed34253fd32fc50adad0f769f33dbca3ca85'/>
<id>urn:sha1:6566ed34253fd32fc50adad0f769f33dbca3ca85</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(build): keep quoted values in Windows LLVM options</title>
<updated>2026-11-22T17:42:18+00:00</updated>
<author>
<name>Vonsek</name>
<email>45567075+Vonsek@users.noreply.github.com</email>
</author>
<published>2026-11-22T17:42:18+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=5f7961631c82d2328471601fd53b517a84231073'/>
<id>urn:sha1:5f7961631c82d2328471601fd53b517a84231073</id>
<content type='text'>
An option with a quoted path containing spaces was split into two arguments before llvm-mc could assemble the shader.
</content>
</entry>
<entry>
<title>mc_command: name --llvm-mc only for the tool that has it; one import in crosslane_fuzz</title>
<updated>2026-11-22T09:15:13+00:00</updated>
<author>
<name>Felix Croasdale</name>
<email>205819305+etcetera-yt@users.noreply.github.com</email>
</author>
<published>2026-11-22T09:15:13+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=aa41f3d50041394a8e11c9ddafe71458fbd880af'/>
<id>urn:sha1:aa41f3d50041394a8e11c9ddafe71458fbd880af</id>
<content type='text'>
Review on #1249: the message offered '(or --llvm-mc)' in every tool, but
only run_gpu_tests.py has that option. run()/not_found() take the tool's
option name, and run_gpu_tests.py passes it. crosslane_fuzz.py imports
mc_command once at module level instead of in two functions.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>mc_command.run: a missing llvm-mc is one line, not a FileNotFoundError traceback</title>
<updated>2026-11-22T09:02:20+00:00</updated>
<author>
<name>Felix Croasdale</name>
<email>205819305+etcetera-yt@users.noreply.github.com</email>
</author>
<published>2026-11-22T09:02:20+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=e63bf6bdefa9c41340a3c1f7fde428ee676b1d8e'/>
<id>urn:sha1:e63bf6bdefa9c41340a3c1f7fde428ee676b1d8e</id>
<content type='text'>
Without llvm-mc, run_gpu_tests.py, valu_fuzz.py, lds_fuzz.py,
image_fuzz.py, crosslane_fuzz.py and runtime/test/shaders/build.py
ended in 'FileNotFoundError: [WinError 2]' from subprocess.run: the first
step of TEST-71 on a Windows machine without one. Only shader_disasm.py
said what was missing. mc_command.run() starts an llvm-mc command and
turns a command that can't be started into shader_disasm.py's message
(set LLVM_MC or --llvm-mc, build_llvm_mc.ps1, the WSL form); the six
llvm-mc call sites use it. tests/test_mc_command.py covers run() and
each tool with a nonexistent LLVM_MC.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>mc_command: an LLVM_MC path with spaces and no .exe stays one executable</title>
<updated>2026-11-22T07:44:37+00:00</updated>
<author>
<name>Urban225</name>
<email>Urban225@users.noreply.github.com</email>
</author>
<published>2026-11-22T07:44:37+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=49db06af8ab4ebf028dba948814536be66a3a5cf'/>
<id>urn:sha1:49db06af8ab4ebf028dba948814536be66a3a5cf</id>
<content type='text'>
On Windows, LLVM_MC=C:\Program Files\LLVM\bin\llvm-mc is no file under that
exact name, so split_command cut it at the space and every GPU tool tried to
run C:\Program. The same path without spaces worked, because Windows appends
.exe. A value with a directory part that shutil.which resolves is now kept
whole. Command lines and bare names are handled as before.

Co-Authored-By: Claude Fable 5.2 &lt;noreply@anthropic.com&gt;
Claude-Session: https://claude.ai/code/session_01RcPmkK8w6mToPwmoiLYPZt
</content>
</entry>
<entry>
<title>BUILD: report a malformed LLVM_MC without an import-time traceback</title>
<updated>2026-11-22T05:33:49+00:00</updated>
<author>
<name>Rayhan Robin</name>
<email>rarobin2912@gmail.com</email>
</author>
<published>2026-11-22T04:52:38+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=d3cd5fbd8f9808891c41ad34aa3398fc4bea3446'/>
<id>urn:sha1:d3cd5fbd8f9808891c41ad34aa3398fc4bea3446</id>
<content type='text'>
(cherry picked from commit 6caeded81788e10c1f0bda7714d954e0ddff5335)
</content>
</entry>
<entry>
<title>fix(tools): add future annotations for Python 3.9 compatibility in tools</title>
<updated>2026-11-21T23:38:25+00:00</updated>
<author>
<name>slopgobblercobbler</name>
<email>336610228+slopgobblercobbler@users.noreply.github.com</email>
</author>
<published>2026-11-21T23:38:25+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=60703f57792ad6f5326145b0870ba03c57e71c08'/>
<id>urn:sha1:60703f57792ad6f5326145b0870ba03c57e71c08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Accept LLVM_MC as a whole command in the tests and GPU tools</title>
<updated>2026-11-21T21:00:03+00:00</updated>
<author>
<name>Mokbul Miah</name>
<email>12134052+mokkymiah@users.noreply.github.com</email>
</author>
<published>2026-11-21T20:56:01+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=66a410edf0c4d387ef5414efc10e684c5687e45b'/>
<id>urn:sha1:66a410edf0c4d387ef5414efc10e684c5687e45b</id>
<content type='text'>
LLVM_MC may be one executable or a command line such as the WSL llvm-mc documented for Windows. shader_disasm.py already split it, but the tests, runtime/test/shaders/build.py and scripts/run_gpu_tests.py treated it as a single executable, so the documented setup skipped translator tests, and build.py passed a Windows path to WSL. Share the splitter in tools/mc_command.py and feed assembly on stdin.
</content>
</entry>
</feed>
