Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

win: fix build script (#12513)

Daniel Hiltgen918231931cb6
diff --git a/scripts/build_windows.ps1 b/scripts/build_windows.ps1
index 2509f1e55..2359d7cc5 100644
--- a/scripts/build_windows.ps1
+++ b/scripts/build_windows.ps1
@@ -179,7 +179,7 @@ function buildROCm() {
if ($LASTEXITCODE -ne 0) { exit($LASTEXITCODE)}
& cmake --install build --component "HIP" --strip
if ($LASTEXITCODE -ne 0) { exit($LASTEXITCODE)}
- rm -f $script:DIST_DIR\lib\ollama\rocm\rocblas\library\*gfx906*
+ Remove-Item -Path $script:DIST_DIR\lib\ollama\rocm\rocblas\library\*gfx906* -ErrorAction SilentlyContinue
}
}
}