Repository navigation
Conversation
|
The same bare
Pasted into PowerShell or cmd, it fails the same way the docs line did. Also, a heads-up: this branch and bobcatchris's #4226 ( Read on |
Kam471
left a comment
There was a problem hiding this comment.
Ran this at 7386f65f on Windows 11: test_docs_links.py 6 OK, test_docs_list_items.py 2 OK; git diff --check clean.
The WSL LLVM_MC setup now uses PowerShell syntax and where.exe, consistent with the README change. No blocking issue.
|
Addressed the diagnostics in |
Flyander
left a comment
There was a problem hiding this comment.
The PowerShell example now uses PowerShell's environment-variable syntax consistently across the README, quickstarts, docs and runtime error messages. The helper centralizes the displayed command and the associated tests assert it. No blocking issue found.
|
Resolved the conflict with current main in 01d569f by moving the WSL example next to the launcher diagnostic. The exact merge with main passed 63 focused Windows tests, including the upstream LLVM argument quoting cases. AI-assisted (OpenAI Codex). |
|
Reviewed 01d569f (CPU, Linux, Python 3.13): no defects found
|
01d569f to
0aabc25
Compare
|
Rebased onto |
|
Tested |
|
Tested 0aabc25 (CPU, Windows 11, Python 3.11.x): Likely cause: if os.name == "nt" and ("/" in raw or "\\" in raw):
exts = os.environ.get("PATHEXT", ".EXE").split(os.pathsep)
if any(os.path.isfile(raw + e) for e in exts):
return [raw]Not checked: the same test on Python 3.12+. AI-assisted. |
|
Correction to my comment above: that run used Python 3.11, below the 3.12 the project requires ( |
0aabc25 to
04a68bc
Compare
|
Rebased cleanly onto |
|
Independent Windows / CPython 3.12 check of rebased head |
isfcrctfs
left a comment
There was a problem hiding this comment.
Read 04a68bc on Linux: correct — one PowerShell form (WSL_LLVM_MC_POWERSHELL) now feeds the preflight and not_found(), and tests/test_mc_command.py (20), tests/test_shader_disasm.py (29) and tests/test_make_game_pipeline_preflight.py (16) pass. One gap: the section the new text links to, docs/design.md 'Disassembling shaders' line 553, still shows set LLVM_MC=wsl -d Ubuntu -e ..., and tools/mc_command.py:7's module docstring repeats it, so a reader who follows the link still gets the cmd.exe-only form this PR replaces. — AI-assisted
What and why
The WSL setup used Unix-style assignments in four Windows guides and in the llvm-mc error messages. PowerShell treats them as commands and raises
CommandNotFoundException. The README, GPU testing guide, Japanese and Simplified Chinese quickstarts, and affected diagnostics now show a copyable PowerShell assignment. The diagnostics reuse one example across the main preflight, the shared launcher, and the disassembler probe.Claim: #4084 (comment)
Tested
git diff --checkpassed.The README edit is adjacent to #4226. The two tips conflict in a test merge, so whichever lands second will need the README hunk rebased.
AI-assisted (OpenAI Codex).
Depends on: #4226
This records the README merge overlap. Either PR can land first; the second needs the README hunk carried forward.
The current head
01d569f7integrates cleanly with main3faac557and passed 63 focused Windows tests, including LLVM argument quoting.