mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
22 lines
458 B
Makefile
22 lines
458 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 cpplint.py {} \;
|
|
|
|
linecount:
|
|
@cloc --read-lang-def=caffe.cloc caffe2 pycaffe2 || \
|
|
echo "Cloc is not available on the machine. You can install cloc with " && \
|
|
echo " sudo apt-get install cloc"
|