The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
ci(windows): build the llama.cpp sidecar with the reviewed MSVC 14.44
purple1afaeebae2d8
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 0f2b9c82..147d0167 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -89,6 +89,14 @@ env:# Microsoft.ArtifactSigning.Client, pinned by version and by the sha256 of the# .nupkg file, both read from api.nuget.org on 2026-10-08. Bump both together:# https://api.nuget.org/v3-flatcontainer/microsoft.artifactsigning.client/index.json+ # Reviewed MSVC toolset for the Windows llama.cpp sidecar (3.1.2): the+ # windows-latest image defaults to 14.52 since 19.11.2026, which+ # verify-sidecar-isa.sh does not trust (WINDOWS_REVIEWED_LINKER_VERSIONS).+ # 14.44 is reviewed and still installed on the image+ # (Microsoft.VisualStudio.Component.VC.14.44.17.14.x86.x64). Read only by+ # scripts/build-llama.sh for x86_64-pc-windows-msvc. Same value in+ # release.yml and sidecar-windows.yml.+ LLAMA_MSVC_TOOLSET: 'v143,version=14.44'ARTIFACT_SIGNING_CLIENT_VERSION: '1.0.146'ARTIFACT_SIGNING_CLIENT_SHA256: '7761e5d8f31e54b764da21d33cd8b0a2940e1b05526c7dfcb5e94b0431426f70'diff --git a/.github/workflows/sidecar-windows.yml b/.github/workflows/sidecar-windows.ymlindex 2152ded0..aba60026 100644--- a/.github/workflows/sidecar-windows.yml+++ b/.github/workflows/sidecar-windows.yml@@ -22,6 +22,14 @@ on:workflow_dispatch:env:+ # Reviewed MSVC toolset for the Windows llama.cpp sidecar (3.1.2): the+ # windows-latest image defaults to 14.52 since 19.11.2026, which+ # verify-sidecar-isa.sh does not trust (WINDOWS_REVIEWED_LINKER_VERSIONS).+ # 14.44 is reviewed and still installed on the image+ # (Microsoft.VisualStudio.Component.VC.14.44.17.14.x86.x64). Read only by+ # scripts/build-llama.sh for x86_64-pc-windows-msvc. Same value in+ # release.yml and sidecar-windows.yml.+ LLAMA_MSVC_TOOLSET: 'v143,version=14.44'VULKAN_SDK_VERSION: '1.4.313.2'# sha256 of the Windows installer of exactly that version. The installer is# run on the build machine, so it is checked before it starts. Read fromdiff --git a/scripts/build-llama.sh b/scripts/build-llama.shindex 5bc5b303..9a45f154 100755--- a/scripts/build-llama.sh+++ b/scripts/build-llama.sh@@ -175,7 +175,18 @@ cmake_flags_for() {# CMAKE_<LANG>_FLAGS_INIT, which CMake's Windows-MSVC module appends its# defaults (/EHsc and the rest) to; CMAKE_<LANG>_FLAGS would replace# them. Dash spelling for the same MSYS reason as -MAP. MSVC 17.7+, x64.- echo "$common -DBUILD_SHARED_LIBS=ON -DGGML_BACKEND_DL=ON -DGGML_CPU_ALL_VARIANTS=ON -DGGML_VULKAN=ON -DCMAKE_SHARED_LINKER_FLAGS=-MAP -DCMAKE_EXE_LINKER_FLAGS=-MAP -DCMAKE_MODULE_LINKER_FLAGS=-MAP -DCMAKE_C_FLAGS_INIT=-jumptablerdata -DCMAKE_CXX_FLAGS_INIT=-jumptablerdata" ;;+ #+ # LLAMA_MSVC_TOOLSET (3.1.2, 19.11.2026): the Visual Studio toolset cmake+ # hands to MSBuild (-T). verify-sidecar-isa.sh only trusts linker+ # versions whose CRT/STL code was reviewed (WINDOWS_REVIEWED_LINKER_+ # VERSIONS), and the hosted windows-latest image moved its default to+ # MSVC 14.52 overnight, which that guard rightly refuses. CI pins the+ # reviewed 14.44 toolset the image still installs+ # (Microsoft.VisualStudio.Component.VC.14.44.17.14.x86.x64). Empty+ # (default, e.g. on the box) leaves the generator's own choice.+ local toolset=""+ [ -z "${LLAMA_MSVC_TOOLSET:-}" ] || toolset=" -T ${LLAMA_MSVC_TOOLSET}"+ echo "$common -DBUILD_SHARED_LIBS=ON -DGGML_BACKEND_DL=ON -DGGML_CPU_ALL_VARIANTS=ON -DGGML_VULKAN=ON -DCMAKE_SHARED_LINKER_FLAGS=-MAP -DCMAKE_EXE_LINKER_FLAGS=-MAP -DCMAKE_MODULE_LINKER_FLAGS=-MAP -DCMAKE_C_FLAGS_INIT=-jumptablerdata -DCMAKE_CXX_FLAGS_INIT=-jumptablerdata${toolset}" ;;x86_64-unknown-linux-gnu)# CMAKE_BUILD_RPATH_USE_ORIGIN=ON (BLOCKER B3): without it,# CMAKE_BUILD_WITH_INSTALL_RPATH's OFF default still makes CMake write