<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/scripts/build_llvm_mc.ps1, branch ci/exclude-legacy-cpp-runtime-tests</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=ci%2Fexclude-legacy-cpp-runtime-tests</id>
<link rel='self' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/atom?h=ci%2Fexclude-legacy-cpp-runtime-tests'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/'/>
<updated>2026-12-01T10:48:54+00:00</updated>
<entry>
<title>scripts: build llvm-mc 23.1.5 by default, so the pipeline library translates (#1923)</title>
<updated>2026-12-01T10:48:54+00:00</updated>
<author>
<name>fiestorra</name>
<email>65175643+fiestorra@users.noreply.github.com</email>
</author>
<published>2026-12-01T10:48:54+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=c6c8f5f5a3770d1b5776c5435312d96032747402'/>
<id>urn:sha1:c6c8f5f5a3770d1b5776c5435312d96032747402</id>
<content type='text'>
* scripts, tools: build llvm-mc 23.1.5 by default, so the pipeline library translates

LLVM 21.1.8's gfx1013 decoder cannot decode 840 of the 2,684 compute
programs in the pipeline library of 1.0.2.1: their listings carry 79,490
undecodable words and 8,310 exp invalid_target_N lines, the translator
refuses all of them as "fall-through into undecodable words", and the
shaders stage keeps 1,844 of 2,684. LLVM 21 does translate all 26,503
shaders of shaders.rpf; the library is what it loses.

The same bytes under llvm-mc 23.1.5 have no rejected word in those 840,
and 839 of them translate and pass spirv-val (the last wants s_sethalt,
which the translator does not implement, under either version). The 1,844
that already translated were re-disassembled too: 1,674 listings change
and all 1,674 still translate, the other 170 are byte-identical, so the
stage goes from 1,844/2,684 to 2,683/2,684.

The build helper now builds 23.1.5 by default. The docs that name the
minimum version (README, docs/design.md, docs/testing.md, docs/linux.md)
and the three user-facing messages that still said 21+ (make_game.py's
preflight, shader_disasm.py's probe error, mc_command.py's install hint)
now say 23+, with the tests that assert those texts updated.

AI-assisted (DeepSeek Harness).
Written with an AI assistant.

* docs: LLVM 23 is what the shaders stage needs, and a test pins the script's default</content>
</entry>
<entry>
<title>Harden build_llvm_mc.ps1 Version/Temp resolution, VS/tool fallback, and literal copy</title>
<updated>2026-11-25T13:46:08+00:00</updated>
<author>
<name>kirigayakazima</name>
<email>46666711+kirigayakazima@users.noreply.github.com</email>
</author>
<published>2026-11-25T13:46:08+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=74e9e8012b088e2ad4f29df90c04fba8a0b46802'/>
<id>urn:sha1:74e9e8012b088e2ad4f29df90c04fba8a0b46802</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build_llvm_mc.ps1: a relative -Temp is checked as the full path it resolves to</title>
<updated>2026-11-24T05:52:50+00:00</updated>
<author>
<name>lines9686-rgb</name>
<email>282495677+lines9686-rgb@users.noreply.github.com</email>
</author>
<published>2026-11-24T05:52:50+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=2a4f650b7b4e13dc280208719681c4cbaacda6de'/>
<id>urn:sha1:2a4f650b7b4e13dc280208719681c4cbaacda6de</id>
<content type='text'>
Review by @QemmHD: a relative -Temp under a working directory with % skipped the check.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>build scripts: refuse a folder with % in its path up front</title>
<updated>2026-11-24T04:09:02+00:00</updated>
<author>
<name>lines9686-rgb</name>
<email>282495677+lines9686-rgb@users.noreply.github.com</email>
</author>
<published>2026-11-23T15:51:13+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=5dbd92b92d147cdc5c365fffd8a3f83c6d6ac5f9'/>
<id>urn:sha1:5dbd92b92d147cdc5c365fffd8a3f83c6d6ac5f9</id>
<content type='text'>
cmd.exe expands %...% on every line of the generated _build.cmd (twice on a CALL line), and cl.exe rejects a % in the
path-valued /D definitions of the runtime's test targets (D8038) however it is quoted, so a checkout with % in its path
failed in configure, or a few hundred Ninja steps in once the batch was escaped (@ezbyDev's measurements in the original repository).
build_runtime.ps1 now stops before looking for Visual Studio when the checkout path has a %, and build_llvm_mc.ps1 when
-Temp has one, each naming the folder; docs/testing.md gets a Known-problems row. tests/test_build_percent_path.py runs
both scripts with such a path, with git, python and vswhere hidden so that a missing check can't start a real build.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Merge pull request #4031 from 0xTehuti</title>
<updated>2026-11-23T04:10:35+00:00</updated>
<author>
<name>ItsNotRexed</name>
<email>300290919+ItsNotRexed@users.noreply.github.com</email>
</author>
<published>2026-11-23T04:10:35+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=77bac1a8e80d38c8a6d9688bf00a67eecc1cd608'/>
<id>urn:sha1:77bac1a8e80d38c8a6d9688bf00a67eecc1cd608</id>
<content type='text'>
Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>scripts: robust recursive directory cleanup with readonly reset in build_llvm_mc.ps1 (BUILD-139)</title>
<updated>2026-11-22T22:59:52+00:00</updated>
<author>
<name>0xTehuti</name>
<email>xtehuti@agentmail.to</email>
</author>
<published>2026-11-22T22:59:52+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=bc425352cdc355523de5bafafeb1135bb5f28fed'/>
<id>urn:sha1:bc425352cdc355523de5bafafeb1135bb5f28fed</id>
<content type='text'>
When cleaning up temporary build and clone directories on Windows, files with
the ReadOnly attribute (such as git objects in the sparse clone) cause
PowerShell's Remove-Item to fail with an UnauthorizedAccessException or
IOException, leaving gigabytes of files behind in $Temp.

Implement Remove-DirectoryRobust:
1. Recursively strip ReadOnly attributes across all nested files and directories.
2. Retry Remove-Item with backoff for brief file handle locks.
3. Fall back to Windows cmd rmdir /s /q which handles read-only attribute trees natively.
4. Add unit test in tests/test_build_llvm_mc_cleanup.py verifying teardown of read-only hierarchies.
</content>
</entry>
<entry>
<title>Merge pull request #3554 from ezbyDev</title>
<updated>2026-11-22T22:02:40+00:00</updated>
<author>
<name>ItsNotRexed</name>
<email>300290919+ItsNotRexed@users.noreply.github.com</email>
</author>
<published>2026-11-22T22:02:40+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=53ce9b6c7fbc4937f4d7bfe82810d74b39af36f6'/>
<id>urn:sha1:53ce9b6c7fbc4937f4d7bfe82810d74b39af36f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #3515 from Catskan</title>
<updated>2026-11-22T22:02:26+00:00</updated>
<author>
<name>ItsNotRexed</name>
<email>300290919+ItsNotRexed@users.noreply.github.com</email>
</author>
<published>2026-11-22T22:02:26+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=fbacc54b1fa06dc1aa87b8647f4869944533a1ad'/>
<id>urn:sha1:fbacc54b1fa06dc1aa87b8647f4869944533a1ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>scripts: start _build.cmd with cmd /s /c ""path"" so &amp; and ^ survive</title>
<updated>2026-11-22T20:53:58+00:00</updated>
<author>
<name>ezbyDev</name>
<email>198480541+ezbyDev@users.noreply.github.com</email>
</author>
<published>2026-11-22T20:53:58+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=fc3bda5cd7b3c7126c411887ef24c2d94b3f6f1c'/>
<id>urn:sha1:fc3bda5cd7b3c7126c411887ef24c2d94b3f6f1c</id>
<content type='text'>
build_runtime.ps1 and build_llvm_mc.ps1 started the generated batch with
`cmd.exe /c "path"`. cmd.exe drops those quotes when the path holds a
special character such as &amp; or ^, then runs only the part before it, so a
checkout (build_runtime) or -Temp/%TEMP% (build_llvm_mc) in a folder like
`a &amp; b` failed at once with "C:\...\a is not recognized". With /s and a
second pair of quotes, cmd.exe strips only the outer pair.

tests/test_build_batch_launch.py takes each script's launch line as written
and runs it on a stub batch in folders named plain, `a &amp; b`, `a&amp;b`, `x^y`,
`sp (x)` and `東京 &amp; co`: the stub must run and its exit code (0 and 7) must
come back. It also checks that the old form fails there.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>build_llvm_mc: check out libc, which LLVM 23 needs to configure</title>
<updated>2026-11-22T20:45:17+00:00</updated>
<author>
<name>Catskan</name>
<email>72111781+Catskan@users.noreply.github.com</email>
</author>
<published>2026-11-22T20:45:17+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1w4dsu3e6hzjehh7l3c9njhtwwtgk9g209ylqf4tvdn2m07xjq06se9ett9/Leonida/commit/?id=c9ab456da2aaffd6e768e19ef5fc518803a75d55'/>
<id>urn:sha1:c9ab456da2aaffd6e768e19ef5fc518803a75d55</id>
<content type='text'>
LLVM 23's llvm/CMakeLists.txt stops with "LLVM libc is not found" when the
sparse checkout leaves out libc. Add it to the checkout, and to a source a
failed LLVM 23 run of the old script left in -Temp, so the same -Temp works.

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;</content>
</entry>
</feed>
