mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
A clean init for Caffe2, removing my earlier hacky
commits.
This commit is contained in:
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# This makefile does nothing but delegating the actual compilation to build.py.
|
||||
|
||||
all:
|
||||
@python brewery.py build
|
||||
|
||||
clean:
|
||||
@python brewery.py clean
|
||||
|
||||
reallyclean:
|
||||
@python brewery.py reallyclean
|
||||
|
||||
test:
|
||||
@python brewery.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"
|
Reference in New Issue
Block a user