LLM inference in C/C++
C++ ggml
ci : fix windows release (#24369)
Sigbjørn Skjærete25a32e98c15
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 3559f82e3b..b656900e5f 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -504,7 +504,7 @@ jobs:needs: [check-release]if: ${{ needs.check-release.outputs.should_release == 'true' }}- runs-on: windows-2025+ runs-on: windows-2025-vs2026permissions:actions: write@@ -535,12 +535,12 @@ jobs:- name: ccacheuses: ggml-org/[email protected]with:- key: release-windows-2025-${{ matrix.arch }}-cpu+ key: release-windows-2025-vs2026-${{ matrix.arch }}-cpu- name: Buildshell: cmdrun: |- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ matrix.arch == 'x64' && 'x64' || 'amd64_arm64' }}+ call "C:\Program Files\Microsoft Visual Studio\18\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ matrix.arch == 'x64' && 'x64' || 'amd64_arm64' }}cmake -S . -B build -G "Ninja Multi-Config" ^-D CMAKE_TOOLCHAIN_FILE=cmake/${{ matrix.arch }}-windows-llvm.cmake ^-DLLAMA_BUILD_BORINGSSL=ON ^@@ -554,12 +554,12 @@ jobs:- name: ccache-clearuses: ./.github/actions/ccache-clearwith:- key: release-windows-2025-${{ matrix.arch }}-cpu+ key: release-windows-2025-vs2026-${{ matrix.arch }}-cpu- name: Pack artifactsid: pack_artifactsrun: |- Copy-Item "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Redist\MSVC\14.44.35112\debug_nonredist\${{ matrix.arch }}\Microsoft.VC143.OpenMP.LLVM\libomp140.${{ matrix.arch == 'x64' && 'x86_64' || 'aarch64' }}.dll" .\build\bin\Release\+ Copy-Item "C:\Program Files\Microsoft Visual Studio\18\Enterprise\VC\Redist\MSVC\14.51.36231\debug_nonredist\${{ matrix.arch }}\Microsoft.VC145.OpenMP.LLVM\libomp140.${{ matrix.arch == 'x64' && 'x86_64' || 'aarch64' }}.dll" .\build\bin\Release\7z a -snl llama-bin-win-cpu-${{ matrix.arch }}.zip .\build\bin\Release\*- name: Upload artifacts