-
Notifications
You must be signed in to change notification settings - Fork 227
Make it possible to use VS2019 as the compiler in binary jobs #445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.