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 } } }