Skip to content

Commit a1160cc

Browse files
committed
Use vcpkg main and rely on manifest mode.
1 parent d759594 commit a1160cc

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

worker/windows/install.ps1

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | ie
4343
##
4444
# Install vcpkg and its dependencies
4545

46-
$baseline = "2025.07.25"
47-
4846
$vcpkg_root = "C:\vcpkg"
4947
$vcpkg_repo = "https://github.com/microsoft/vcpkg.git"
5048

@@ -59,8 +57,9 @@ else
5957
git -C $vcpkg_root fetch --tags origin
6058
}
6159

62-
Write-Host "Checking out vcpkg $baseline..."
63-
git -C $vcpkg_root checkout $baseline
60+
Write-Host "Checking out vcpkg..."
61+
git -C $vcpkg_root checkout main
62+
git -C $vcpkg_root pull
6463

6564
Write-Host "Setting VCPKG_ROOT environment variable..."
6665
[Environment]::SetEnvironmentVariable("VCPKG_ROOT", "$vcpkg_root", "User")
@@ -69,11 +68,6 @@ $env:VCPKG_ROOT = $vcpkg_root
6968
Write-Host "Bootstrapping vcpkg..."
7069
& "$vcpkg_root\bootstrap-vcpkg.bat" -disableMetrics
7170

72-
Write-Host "Installing vcpkg packages..."
73-
# TODO: determine this from the repository
74-
& "$vcpkg_root\vcpkg.exe" install libjpeg-turbo libpng zlib openblas --triplet x64-windows
75-
& "$vcpkg_root\vcpkg.exe" install libjpeg-turbo libpng zlib openblas --triplet x86-windows
76-
7771
##
7872
# All done!
7973

0 commit comments

Comments
 (0)