Skip to content

Commit c04a9f6

Browse files
committed
Disable updating packages
1 parent 39676d1 commit c04a9f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SetUpFFmpegBuildEnvironment.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ $msys2_shell = "$msys2_root\msys2_shell.cmd"
7272
Write-Host "Modifying $msys2_shell..."
7373
(Get-Content $msys2_shell).replace('rem set MSYS2_PATH_TYPE=inherit', 'set MSYS2_PATH_TYPE=inherit') | Set-Content $msys2_shell
7474

75+
<# TODO: pacman sporadically hangs while updating packages
7576
# Update packages - the first pass updates core packages and the second pass updates the remaining non-core packages
7677
Write-Host 'Updating packages...'
7778
for ($i = 0; $i -lt 2; $i++)
@@ -81,6 +82,7 @@ for ($i = 0; $i -lt 2; $i++)
8182
8283
Start-Process -Wait $msys2_shell -ArgumentList '-c "pacman -Syu --noconfirm"'
8384
}
85+
#>
8486

8587
# Install additional packages
8688
$packages = @('make', 'gcc', 'diffutils', 'nasm')

0 commit comments

Comments
 (0)