windows: fix native MSVC/Vulkan build portability - #640
Conversation
a5e31c8 to
45550dc
Compare
localai-org-maint-bot
left a comment
There was a problem hiding this comment.
This portability PR is not reviewable as a merge candidate while its own portability and build gates are red. The current head fails windows-msvc-cpu, windows-msvc-vulkan, both Linux build-test jobs, Vulkan verification, both sanitizer jobs, commit-protocol-tag, agent-record, device-leakage, and documentation-checkpoint. Please rebase onto current main, add the required FOLLOWING_AGENTS_PROTOCOL trailer to every PR commit, and push a head where the intended MSVC/Vulkan fixes pass their target jobs. After that, the large mechanical compatibility diff can be reviewed against a meaningful green signal.
|
Thanks for tackling this, and welcome — the Windows arm being red on every PR is a real problem and the centralising instinct here is the right one. Four hand-rolled I have to be straight with you though: as it stands this PR does not turn the Windows jobs green, and it breaks the Linux build in two places. Details below so you can judge what to keep. The Windows jobs go redder, not greenerBoth die in The current baseline red is three errors, all The two new ones are your Important, and not your fault: the reason your native Windows validation passed while CI fails is that your host build never runs this gate. And separately — even a perfect version of this PR could not have turned Two Linux breaks, both reproduced locally1. 2. Missing include. Three hunks I'd drop
Also inert: the What I'd keepThe SequencingThere are four other Windows PRs in flight and this collides with them. #524 hard-conflicts — you both edit My suggestion: let #677 and #584 land, then bring this back split into (a) the shared One housekeeping note, and a normal thing for a first contribution: commits need a bare |
Make the native Windows MSVC/Vulkan path buildable by centralizing the missing portability shims and fixing the packaging/link seams that block the shared library and test binaries.\n\nThis commit introduces the shared platform helpers, ports the Windows-facing callsites that needed them, and wires the Windows shared-library / Vulkan loader path so the existing CI lanes can exercise it. Later follow-up commits tighten the scope after review.\n\nIssue: mudler#503\nIdentity: ENG-RELEASE-WINDOWS\nFOLLOWING_AGENTS_PROTOCOL\n\nFollowing-Agents-Protocol: true\nAI-Assisted: true\nAssisted-by: AGENT:GPT-5 [Codex]
Tighten the native Windows portability patch to the pieces the review validated.\n\n- keep the shared portability layer but remove the checker-hostile win32 CRT includes\n- drop the /WX downgrade, dead F16C target macro, test force-include hook, and nvfp4 cache rewrite\n- restore the Linux-clean Vulkan loader shape and add the missing explicit include in test_kv_offload_tiering\n- preserve the packaging/link fixes and the CreateEvent macro collision guard\n\ncheck-windows-portability.py now reports only the pre-existing video_engine.cpp baseline errors.\n\nIssue: mudler#503\nIdentity: ENG-RELEASE-WINDOWS\nFOLLOWING_AGENTS_PROTOCOL\n\nFollowing-Agents-Protocol: true\nAI-Assisted: true\nAssisted-by: AGENT:GPT-5 [Codex]
c6b9e7d to
42f0434
Compare
This PR makes the native Windows MSVC + Vulkan build path link and test cleanly enough to use the existing Windows CI lanes.
What changed:
/WHOLEARCHIVEhandling and explicitblake3_vendoredlinkagedlopenassumptionsWhy:
Validation: