Single command to build from source
ezyang opened this issue · 3 comments
ezyang commented
PyTorch lets you setup both Python and C++ bits using python setup.py develop
; it would be great if multipy supported the same.
d4l3k commented
Just tested it locally and it is supported (though we had a small regression picking python versions which is fixed in #218)
Is it not working for you?
ezyang commented
I didn't try because the docs didn't say this would work lol
anirbanr-fb-r2p commented
Yes we have a single source build command : pip install -e .
, which is essentially setup.py develop
which in turn calls cmake
for the c++ extensions. For a cmake-free build one can run pip install -e . --install-option="--cmakeoff"
.