build: set LLAMA_STATIC_CRT for Windows CUDA (#8901)

Signed-off-by: jh-block <jhugo@block.xyz>
This commit is contained in:
jh-block
2026-04-29 10:50:05 +02:00
committed by GitHub
parent 0bb87daefd
commit 37db6decb1
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -157,6 +157,7 @@ jobs:
shell: pwsh
env:
CUDA_COMPUTE_CAP: ${{ matrix.variant == 'cuda' && '80' || '' }}
LLAMA_STATIC_CRT: ${{ matrix.variant == 'cuda' && '1' || '' }}
run: |
Write-Output "Building Windows CLI executable..."
if ("${{ matrix.variant }}" -eq "cuda") {
@@ -112,6 +112,7 @@ jobs:
shell: pwsh
env:
CUDA_COMPUTE_CAP: ${{ inputs.windows_variant == 'cuda' && '80' || '' }}
LLAMA_STATIC_CRT: ${{ inputs.windows_variant == 'cuda' && '1' || '' }}
run: |
Write-Output "Building Windows executable..."
if ("${{ inputs.windows_variant }}" -eq "cuda") {