Re-purpose setup_caffe2.py for faster caffe2 build iterations (#10520)

Summary:
setup.py is the official install script, setup_caffe2.py is not used any more
Pull Request resolved: https://github.com/pytorch/pytorch/pull/10520

Reviewed By: yinghai

Differential Revision: D9325548

Pulled By: bddppq

fbshipit-source-id: 3dda87f3dff061b574fd1d5c91859044f065ee33
This commit is contained in:
Junjie Bai 2018-08-14 17:57:50 -07:00 committed by Facebook Github Bot
parent 32bb4040dd
commit 60aa416a6d

View file

@ -131,7 +131,6 @@ class cmake_build(Caffe2Command):
# configure
cmake_args = [
find_executable('cmake'),
'-DUSE_ATEN=ON',
'-DBUILD_SHARED_LIBS=OFF',
'-DPYTHON_EXECUTABLE:FILEPATH={}'.format(sys.executable),
'-DPYTHON_INCLUDE_DIR={}'.format(sysconfig.get_python_inc()),