Skip to content

Commit 911f450

Browse files
authored
Revert "remove visual studio 2019 install in test infra" (#6291)
Reverts #6226 Reverting to unblock Cuda 12.8 migration. Looks like we would need to step back and do some more testing on pytorch-canary before relanding this see the failure: pytorch/pytorch#147053
1 parent ae56320 commit 911f450

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

aws/ami/windows/windows.pkr.hcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@ build {
6868
]
6969
}
7070

71+
# Install the Visual Studio 2019
72+
provisioner "powershell" {
73+
environment_vars = ["INSTALL_WINDOWS_SDK=1", "VS_YEAR=2019", "VS_VERSION=16.11.21", "VS_UNINSTALL_PREVIOUS=1"]
74+
execution_policy = "unrestricted"
75+
scripts = [
76+
"${path.root}/scripts/Installers/Install-VS.ps1",
77+
]
78+
}
79+
7180
# Install the Visual Studio 2022
7281
provisioner "powershell" {
7382
environment_vars = ["INSTALL_WINDOWS_SDK=1", "VS_YEAR=2022", "VS_VERSION=17.4.1", "VS_UNINSTALL_PREVIOUS=0"]

0 commit comments

Comments
 (0)