Repository navigation
Conversation
|
Independent native Windows check of 18957f33 with Windows PowerShell and CPython 3.12.8. All eight stock Separate mocked capability probes confirmed that the selector skips malformed bundled CMake output, a bundled Ninja that fails its probe, and a candidate that offers only Ninja Multi-Config. It selected the compatible CMake 3.24 and Ninja pair on PATH when available and selected the fallback when no usable pair remained. This run checked tool selection without compiling the runtime. AI-assisted. |
|
Independent Windows check at 18957f3 with Python 3.12.10. test_build_runtime_cmake, test_build_runtime_batch and test_build_runtime_fallback passed all 10 tests combined. AI-assisted testing. |
|
@philip-roy-jones, I checked how your literal-path change fits this PR. At I reran this PR's discovery fixture on Windows PowerShell with brackets in both locations. Changing only the PATH candidate check to AI-assisted verification. |
|
Tested 18957f3 on Windows 11, Python 3.15.2, NVIDIA RTX 4060 Ti (driver 621.24; CPU-only checks, no game files, no GPU/llvm-mc/MSVC used): pass. Ran the test files this PR adds or changes, from a clean checkout of the PR head: AI-assisted (Claude Code). |
|
@cdomergue, I opened #7798 for the literal-path fix and independently replayed the combined discovery test on Windows PowerShell 5.1 with Python 3.13.1. At your head Git reports a textual conflict in |
|
✅ Automated security review: CLEAN (commit
Scope: static analysis of added diff lines only; no code was executed. Please review findings manually. |
Claimed in the coordination issue as Windows runtime build tool selection.
What and why
With CMake 3.31.6 first on PATH and CMake 3.20 bundled with Visual Studio, the Windows runtime wrapper selected 3.20 and stopped at the project's 3.24 minimum. The bundled executable previously won as soon as its file existed.
The wrapper now reads the version and generator names from
cmake -E capabilities. A compatible bundled copy keeps priority. If that copy is too old, the wrapper tries native Windows candidates on PATH. The direct compiler fallback remains available when there is no usable CMake/Ninja pair.Tested
test_build_runtime*.pypassed. The selection test covers bundled 3.24, bundled 3.23 with a compatible PATH candidate, old copies in both locations and MSYS generator rejection.git diff --checkpassed.test_image_atomics_guardandtest_image_store_d16. The same 48 assertion failures reproduced on an unmodified checkout of the base commite0816d6. The repository newline check also flags two existing writes intools/leonida_tui.pyandtools/wave_diff.pyon both the base and this branch.AI-assisted: yes.
Checklist