mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
18 lines
415 B
Makefile
18 lines
415 B
Makefile
# This makefile does nothing but delegating the actual compilation to build.py.
|
|
|
|
all:
|
|
@python build.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"
|