Repository navigation
build_runtime.ps1: the cl.exe fallback builds check.py's three test programs - #1236
abilliontokens wants to merge 1 commit into
Conversation
…rograms - derekhearst's finding (ItsNotRexed#1218, 08:37 UTC): the fallback (VS without the C++ CMake tools component) builds gta6rt plus nine test programs, but none of check.py's TEST_PROGRAMS - vk_compute_test, vk_store_test, vk_harness - so valu_fuzz.py and lds_fuzz.py stop at "vk_compute_test not found" and TEST-71 cannot run on that path. - Adds the three cl.exe lines after vk_descriptor_bench: single-TU like CMakeLists.txt's Vulkan-Headers foreach, Vulkan SDK include + runtime/src for vulkan_loader.h, same flags as the neighbouring lines. - Compile- and launch-verified on Windows 11 with VS Build Tools 2022 (the fallback toolchain) + Vulkan SDK 1.4.363; AI-assisted (omp orchestrator).
|
Tested 6f7c088 on Windows 11, VS 18 / MSVC 14.51, with the Heads-up: #1238 (opened right after) extends the same fallback, conflicts with this in |
|
Standing down in favor of #1238: it covers everything this PR builds plus vk_image_fuzz, adds a regression test with negative controls, and ran the forced fallback end-to-end; @kapitche independently verified both (see their comment). Our claim was 38s earlier, but #1238 is the better fix — closing this one to avoid duplicate churn. Credit @etcetera-yt. AI-assisted (omp orchestrator). |
Builds
check.py's threeTEST_PROGRAMSinscripts/build_runtime.ps1's cl.exe fallback, from derekhearst's finding: the fallback (VS without the "C++ CMake tools" component) builds gta6rt plus nine test programs but none ofvk_compute_test,vk_store_testorvk_harness, sovalu_fuzz.py/lds_fuzz.pystop at "vk_compute_test not found" and TEST-71 cannot run on that path.Claim: #1218, 08:41:01Z.
What changed — three
cl.exelines aftervk_descriptor_bench, matching the CMake path's outputs (add_executable(${tool} test/${tool}.cpp), Vulkan headers +runtime/srcforvulkan_loader.h, same flags as the neighbouring lines). No other changes.Verification (Windows 11, VS Build Tools 2022, Vulkan SDK 1.4.363):
build_runtime.ps1takes the CMake path here; the full CMake build on this branch passes (222/222 targets) and is unaffected by the change.cl.execommands were extracted and run verbatim undervcvars64+ the Vulkan SDK: all three compile, link and launch (exit 0). The complete fallback script was not run end-to-end on this machine (the script selects the CMake path when the component is present); the added lines mirror the neighbouring fallback lines and the CMake foreach outputs.mainthe fallback's/Fe:list has no such lines (the old body ends atvk_descriptor_bench.exe), so the three programs cannot exist after a fallback build.Overlap note: @etcetera-yt claimed the same finding 38 seconds later (08:41:39Z vs my 08:41:01Z); this PR is the earlier claim, opened before any PR existed on their side. Happy to fold in their approach (their plan also added
vk_image_fuzzand a/Fe:-list self-check) or stand down if the coordinator prefers.AI-assisted (omp orchestrator). No game files.