Repository navigation
docs(build): add Windows VS clang route and HTP signing notes - #1671
Open
Erin Genovy (jefgen) wants to merge 1 commit into
Open
Erin Genovy (jefgen) wants to merge 1 commit into
Erin Genovy (jefgen) wants to merge 1 commit into
Conversation
Erin Genovy (jefgen)
marked this pull request as ready for review
November 15, 2026 10:56
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Signed-off-by: Erin Genovy <29107334+jefgen@users.noreply.github.com>
Erin Genovy (jefgen)
force-pushed
the
docs/windows-build-gaps
branch
from
November 24, 2026 09:03
1539e05 to
599765d
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Thank you for GenieX!
From working on #1672, I was able to get things building from source on Windows ARM64 on a Snapdragon X2 Elite, and wanted to contribute back some documentation edits for what got the build working.
This only adds to
notes/build.md. The MSYS2 andVsDevCmdsteps stay as they are, with Visual Studio's own clang added as an alternative. The one existing line it replaces is the CLI binary's path.Summary
setup-vcvars,_build-sdk.yml): importvcvarsarm64.batinto PowerShell and put its ARM64clangfirst onPATH.htp-swiv.py.Inf2Cat.exe, the cachedGGML_HEXAGON_HTP_CERT, and unsigned builds.--freshand version strings.bazel-out/<config>-ST-<hash>/, notbazel-bin, so the doc now asksbazelisk cqueryfor it.Aside:
setup-snapdragon-sdksexportsWINDOWS_SDK_BINas...\bin\<version>\arm64, and ggml-hexagon's CMake appendsarm64andx86to it, so that lookup misses. CI findsInf2Cat.exethrough vcvars instead, so this PR leaves CI alone.Test plan
qualcomm-ai-hub-community/Qwen3-4B-Instruct-2507-Hi-Fi-fraQtl(Q4_0), decoding at 33.2 tok/s.qualcomm/Qwen3-4B-Instruct-2507, decoding at 35.5 tok/s.pwsh: arm64 host and target, the chosen Windows SDK, and nativeclangandlld-linkfirst onPATH.notes/build.mdresolve.Co-authored by Copilot + Human.