Skip to content

Commit 28e1571

Browse files
peterjc123facebook-github-bot
authored andcommitted
Add the x64 msvc toolchain into PATH (pytorch#12446)
Summary: A possible fix for the problem stated in pytorch#12410. Pull Request resolved: pytorch#12446 Differential Revision: D10238572 Pulled By: soumith fbshipit-source-id: 17ade148c4036d2481b878e5cd7d9d67c1e3626e
1 parent def655e commit 28e1571

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.jenkins/pytorch/win-build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ if "%REBUILD%"=="" ( call conda install -y -q numpy cffi pyyaml boto3 )
9191
:: Install ninja
9292
if "%REBUILD%"=="" ( pip install ninja )
9393
94+
call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat" x64
9495
call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat" x86_amd64
9596
9697
git submodule update --init --recursive

0 commit comments

Comments
 (0)