Fix windows msbuild bug (#18748)
authorvaeksare <42353187+vaeksare@users.noreply.github.com>
Tue, 2 Apr 2019 21:25:28 +0000 (14:25 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 2 Apr 2019 21:35:40 +0000 (14:35 -0700)
commit84a9694ed0c85c0bc844915adf9f2c8fd53bacb1
tree29833e1cea6253206043e13f2a39f86c8cfe7ab6
parent2e97c82470966df6942f364102690460ea58403e
Fix windows msbuild bug (#18748)

Summary:
Fix the bug introduced by #18681 where an undefined variable was being used to limit max cpu count when building for Windows without Ninja.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18748

Differential Revision: D14733209

Pulled By: soumith

fbshipit-source-id: 52fc0dd4dde99da75a6956b63f02da2e647eed4f
tools/build_pytorch_libs.py