mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
(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.
21 lines
467 B
Makefile
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"
|