]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ci : fix hang in windows-hip build/release (#15365)
authorSigbjørn Skjæret <redacted>
Sun, 17 Aug 2025 11:30:23 +0000 (13:30 +0200)
committerGitHub <redacted>
Sun, 17 Aug 2025 11:30:23 +0000 (13:30 +0200)
* fix hang in windows-latest-cmake-hip

* apply fix to release as well

.github/workflows/build.yml
.github/workflows/release.yml

index 83aaea99470d1caf46c3cb0f14854312c5bd507e..43553ac13bdf60170414eef259405bd4dfb56e31 100644 (file)
@@ -1070,7 +1070,8 @@ jobs:
           write-host "Downloading AMD HIP SDK Installer"
           Invoke-WebRequest -Uri "https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-24.Q3-WinSvr2022-For-HIP.exe" -OutFile "${env:RUNNER_TEMP}\rocm-install.exe"
           write-host "Installing AMD HIP SDK"
-          Start-Process "${env:RUNNER_TEMP}\rocm-install.exe" -ArgumentList '-install' -NoNewWindow -Wait
+          $proc = Start-Process "${env:RUNNER_TEMP}\rocm-install.exe" -ArgumentList '-install' -NoNewWindow -PassThru
+          $proc.WaitForExit(600000)
           write-host "Completed AMD HIP SDK installation"
 
       - name: Verify ROCm
index 9ebb0236fa345d44cadf522a825c91173e405244..5367637e428431c7300b34a4c969305cd3b4b47f 100644 (file)
@@ -557,7 +557,8 @@ jobs:
           write-host "Downloading AMD HIP SDK Installer"
           Invoke-WebRequest -Uri "https://download.amd.com/developer/eula/rocm-hub/AMD-Software-PRO-Edition-24.Q3-WinSvr2022-For-HIP.exe" -OutFile "${env:RUNNER_TEMP}\rocm-install.exe"
           write-host "Installing AMD HIP SDK"
-          Start-Process "${env:RUNNER_TEMP}\rocm-install.exe" -ArgumentList '-install' -NoNewWindow -Wait
+          $proc = Start-Process "${env:RUNNER_TEMP}\rocm-install.exe" -ArgumentList '-install' -NoNewWindow -PassThru
+          $proc.WaitForExit(600000)
           write-host "Completed AMD HIP SDK installation"
 
       - name: Verify ROCm