Enable USE_NINJA in build_pytorch_libs.py if it is in PATH (#16545)
authorpeter <peterghost86@gmail.com>
Thu, 31 Jan 2019 19:19:31 +0000 (11:19 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 31 Jan 2019 19:57:11 +0000 (11:57 -0800)
commit4b7e70067c9ee9acce73671ba0c23fe3558c661f
treebd2e42d87cc48cf57f781f1e4c893d00f71bc678
parentb109549bf374202809dfab1a043a8e76fe9a7075
Enable USE_NINJA in build_pytorch_libs.py if it is in PATH (#16545)

Summary:
It is required to fix the nightly conda builds.
cc zdevito ezyang soumith
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16545

Differential Revision: D13900610

Pulled By: soumith

fbshipit-source-id: 676f903a082f6f083e07245a1df38175bb82b2f7
tools/build_pytorch_libs.py