Skip to content

Commit 2922d7d

Browse files
committed
Use VS2022 for libtorch windows tests
1 parent e919e17 commit 2922d7d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

windows/internal/smoke_test.bat

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,10 @@ pushd tmp\libtorch
152152

153153
set VC_VERSION_LOWER=17
154154
set VC_VERSION_UPPER=18
155-
IF "%VC_YEAR%" == "2019" (
156-
set VC_VERSION_LOWER=16
157-
set VC_VERSION_UPPER=17
158-
)
155+
REM IF "%VC_YEAR%" == "2019" (
156+
REM set VC_VERSION_LOWER=16
157+
REM set VC_VERSION_UPPER=17
158+
REM )
159159

160160
for /f "usebackq tokens=*" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -legacy -products * -version [%VC_VERSION_LOWER%^,%VC_VERSION_UPPER%^) -property installationPath`) do (
161161
if exist "%%i" if exist "%%i\VC\Auxiliary\Build\vcvarsall.bat" (

0 commit comments

Comments
 (0)