conformance build.ps1: find Visual Studio's CMake and name no Visual Studio version (OLD-9962) #1822
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1822"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by Ch1mpleo on 2026-11-25T12:35:03Z.
Claimed in the coordination issue as: OLD-9962 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7162564669)
What and why
Carries forward old-pr/9962 (draft #229, preserving Leeahmy's two original commits) rebased onto current main. Updates ools/conformance/native/scripts/build.ps1 to locate Visual Studio's CMake without hardcoding a Visual Studio version, and adds ests/test_conformance_build_script.py.
Tested
GPUs tested: n/a (CPU-only PowerShell script & unit test)
AI-assisted: yes
Checklist
eeds rebase).
Imported from ubiquitarianism/leonida. Originally posted by PierreEbele on 2026-11-25T20:01:11Z.
Reviewed
fa41fe9ea: build.ps1 CMake lookup rewrite (VS-bundled -> PATH with VS generators -> default install, vswhere, no -G) plus its Windows-only test. PowerShell was not available to me, so the new test ran only to its skip (5 skipped on both trees; same with the file copied onto main); I checked statically that its expectations match the script exactly (message, -S/-B/-A order, no -G, BUILD EXIT, bundled path, CMAKE_GENERATOR save/restore) and that main's script satisfies none of them. This is therefore a read-only review of the script itself; a Windows CI run should settle it. No finding. Non-blocking: tools/conformance/native/README.md:22 still shows -G "Visual Studio 17 2022" as the equivalent manual command. AI-assisted review.Recommendation: Merge
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-28T15:01:54Z.
Red/green:
pytest tests/test_conformance_build_script.pyfails on main (5 failed) and passes on headfa41fe9ea5merged with main (5 passed).Targeted batch (PR tests, tests importing the changed modules, docs tests, translator when touched) merged on main
d48a957bbin GitHub Actions: no new failure.AI-assisted (Claude Code, Claude Opus 5.5)