-
Notifications
You must be signed in to change notification settings - Fork 228
Make it possible to use VS2019 as the compiler in binary jobs #445
Conversation
|
Please merge after pytorch/pytorch#38957 is landed. cc @soumith @seemethere |
Summary: To make it configurable in pytorch/builder#445. Pull Request resolved: #38957 Differential Revision: D21721933 Pulled By: ezyang fbshipit-source-id: 510b19e59bed4ff9d6c39173b4d5c5fc69290ed0
| $process = Start-Process "${PWD}\vs_installer.exe" -ArgumentList $VS_INSTALL_ARGS -NoNewWindow -Wait -PassThru | ||
| Remove-Item -Path vs_installer.exe -Force | ||
| $exitCode = $process.ExitCode | ||
| if (($exitCode -ne 0) -and ($exitCode -ne 3010)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please copy VSCollect.exe logic here from https://github.com/pytorch/pytorch/blob/master/.circleci/scripts/vs_install.ps1#L25
And this script is not at all used right now, isn't it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please copy VSCollect.exe logic here from https://github.com/pytorch/pytorch/blob/master/.circleci/scripts/vs_install.ps1#L25
Sound reasonable. Will need to upload them as artifacts in binary jobs,
Summary: This PR relies on #38957 and pytorch/builder#445. Tested with #38949 and #38956. Will need a rebase after the dependent commits go in Pull Request resolved: #38959 Differential Revision: D21732423 Pulled By: malfet fbshipit-source-id: 50837a026a575bb3d547526e299db7bcfd7637a8
Tested with pytorch/pytorch#38949 and pytorch/pytorch#38956.