Skip to content

Commit 77b440b

Browse files
authored
Pin MSVC version to 2019 (#1405)
1 parent f9ec8ae commit 77b440b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

windows/internal/vc_install_helper.bat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
if "%VC_YEAR%" == "2019" powershell windows/internal/vs2019_install.ps1
2-
if "%VC_YEAR%" == "2022" powershell windows/internal/vs2022_install.ps1
2+
if "%VC_YEAR%" == "2022" (
3+
echo "Upgrading MSVC to 2022 is not supported in the CI for reliability reason. Please contact PyTorch Dev Infra for more information"
4+
set VC_YEAR=2019
5+
)
36

47
set VC_VERSION_LOWER=17
58
set VC_VERSION_UPPER=18

0 commit comments

Comments
 (0)