Remove dead code from setup.py, remove need for build target. (#16162)
authorZachary DeVito <zdevito@fb.com>
Tue, 22 Jan 2019 01:24:32 +0000 (17:24 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 22 Jan 2019 01:27:56 +0000 (17:27 -0800)
commit0cd1ab82b0fcda0f791958a4069886bd3a0e14fd
tree6b2ecdae190a9e7de4ef9d6a94e4ec6fd1a12e11
parentbed7db77725637941aa5dedec86bb16798581485
Remove dead code from setup.py, remove need for build target. (#16162)

Summary:
Now it is only necessary to use 'develop' or 'install' to build. Incremental cmake is on by default. `develop --cmake` forces it to rerun.

The NinjaBuilder stuff is dead. It was used to make building _C.so
faster but now _C.so is just an empty stub file.

Removed a bunch of custom build commands from setup.py that are
no longer meaningful now that cmake handles most of the build.

Removed unused targets in build_pytorch_lib.sh/bat
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16162

Differential Revision: D13744155

Pulled By: zdevito

fbshipit-source-id: d836484782c65b7f8e8c7a82620886f7a7777892
setup.py
tools/build_pytorch_libs.bat
tools/build_pytorch_libs.sh
tools/setup_helpers/configure.py
tools/setup_helpers/ninja_builder.py [deleted file]