Skip to content

Commit

Permalink
goodbye old brewery
Browse files Browse the repository at this point in the history
  • Loading branch information
Yangqing committed Jan 5, 2017
1 parent 46a4032 commit 375c081
Show file tree
Hide file tree
Showing 20 changed files with 60 additions and 1,097 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
all:
@mkdir -p build && cd build && cmake .. && make

android:
@python brewtool/build_android.py build
#android:
# @python brewtool/build_android.py build

clean:
@rm -r build/

test:
@python brewtool/build.py test
#test:
# @python brewtool/build.py test

lint:
@find caffe2 -type f -exec python brewtool/cpplint.py {} \;
#lint:
# @find caffe2 -type f -exec python brewtool/cpplint.py {} \;

linecount:
@cloc --read-lang-def=brewtool/caffe.cloc caffe2 || \
@cloc --read-lang-def=caffe.cloc caffe2 || \
echo "Cloc is not available on the machine. You can install cloc with " && \
echo " sudo apt-get install cloc"
53 changes: 53 additions & 0 deletions caffe.cloc
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
Bourne Shell
filter remove_matches ^\s*#
filter remove_inline #.*$
extension sh
script_exe sh
C
filter remove_matches ^\s*//
filter call_regexp_common C
filter remove_inline //.*$
extension c
extension ec
extension pgc
C++
filter remove_matches ^\s*//
filter remove_inline //.*$
filter call_regexp_common C
extension C
extension cc
extension cpp
extension cxx
extension pcc
C/C++ Header
filter remove_matches ^\s*//
filter call_regexp_common C
filter remove_inline //.*$
extension H
extension h
extension hh
extension hpp
CUDA
filter remove_matches ^\s*//
filter remove_inline //.*$
filter call_regexp_common C
extension cu
Python
filter remove_matches ^\s*#
filter docstring_to_C
filter call_regexp_common C
filter remove_inline #.*$
extension py
make
filter remove_matches ^\s*#
filter remove_inline #.*$
extension Gnumakefile
extension Makefile
extension am
extension gnumakefile
extension makefile
filename Gnumakefile
filename Makefile
filename gnumakefile
filename makefile
script_exe make
6 changes: 0 additions & 6 deletions caffe/proto/BREW

This file was deleted.

129 changes: 0 additions & 129 deletions caffe2/BREW

This file was deleted.

8 changes: 0 additions & 8 deletions caffe2/binaries/BREW

This file was deleted.

4 changes: 0 additions & 4 deletions caffe2/contrib/docker-ubuntu-14.04/BREW

This file was deleted.

10 changes: 0 additions & 10 deletions caffe2/contrib/nccl/BREW

This file was deleted.

10 changes: 0 additions & 10 deletions caffe2/contrib/nervana/BREW

This file was deleted.

11 changes: 0 additions & 11 deletions caffe2/cuda_rtc/BREW

This file was deleted.

94 changes: 0 additions & 94 deletions caffe2/db/BREW

This file was deleted.

Loading

0 comments on commit 375c081

Please sign in to comment.