pytorch/Makefile
Yangqing Jia 1ede7a7ff0 more build updates:
(1) nccl submodule, cnmem submodule
(2) mpi ops fallback test
(3) a bit more blob interface
(4) fixed tests
(5) caffe2.python.io -> caffe2.python.dataio to avoid name conflicts
(6) In the build system autogen __init__.py instead of having manual
rules just to copy over an empty __init__.py.
2016-08-02 23:28:23 -07:00

21 lines
467 B
Makefile

# This makefile does nothing but delegating the actual compilation to build.py.
all:
@python build.py build
android:
@python build_android.py build
clean:
@python build.py clean
test:
@python build.py test
lint:
@find caffe2 -type f -exec python brewtool/cpplint.py {} \;
linecount:
@cloc --read-lang-def=brewtool/caffe.cloc caffe2 || \
echo "Cloc is not available on the machine. You can install cloc with " && \
echo " sudo apt-get install cloc"