mirror of
https://github.com/block/goose.git
synced 2026-06-02 06:19:33 +02:00
build: set LLAMA_STATIC_CRT for Windows CUDA (#8901)
Signed-off-by: jh-block <jhugo@block.xyz>
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user