Skip to content

Commit

Permalink
move a bunch of things
Browse files Browse the repository at this point in the history
  • Loading branch information
Yangqing committed Mar 8, 2016
1 parent 9e5c795 commit 0747a4a
Show file tree
Hide file tree
Showing 18 changed files with 39 additions and 6,399 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ test:
@python build.py test

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

linecount:
@cloc --read-lang-def=caffe.cloc caffe2 pycaffe2 || \
@cloc --read-lang-def=brewtool/caffe.cloc caffe2 pycaffe2 || \
echo "Cloc is not available on the machine. You can install cloc with " && \
echo " sudo apt-get install cloc"
53 changes: 0 additions & 53 deletions caffe.cloc

This file was deleted.

File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions caffe2/core/BREW
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ cc_test(
],
deps = [
":core",
"//gtest:gtest",
"//gtest:caffe2_gtest_main",
"//third_party:gtest",
"//caffe2/test:caffe2_gtest_main",
],
)

Expand All @@ -87,8 +87,8 @@ cc_test(
],
deps = [
":core_gpu",
"//gtest:gtest",
"//gtest:caffe2_gtest_main",
"//third_party:gtest",
"//caffe2/test:caffe2_gtest_main",
],
)

Expand All @@ -101,7 +101,7 @@ cc_test(
],
deps = [
":core_gpu",
"//gtest:gtest",
"//gtest:caffe2_gtest_main",
"//third_party:gtest",
"//caffe2/test:caffe2_gtest_main",
],
)
2 changes: 1 addition & 1 deletion caffe2/end_to_end_test/BREW
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ cc_test(
"//caffe2/utils:proto_utils",
"//caffe2/data/toy:toy_models",
"//caffe2/data/mnist:mnist_models",
"//gtest:caffe2_gtest_main",
"//caffe2/test:caffe2_gtest_main",
],
)
4 changes: 2 additions & 2 deletions caffe2/mpi/BREW
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ mpi_test(
deps = [
":mpi_ops",
"//caffe2:all_available_ops",
"//gtest:gtest",
"//third_party:gtest",
]
)

Expand All @@ -64,6 +64,6 @@ mpi_test(
deps = [
":mpi_ops",
"//caffe2:all_available_ops",
"//gtest:gtest",
"//third_party:gtest",
]
)
2 changes: 1 addition & 1 deletion caffe2/operators/BREW
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,6 @@ cc_test(
":core_ops",
":core_ops_gpu",
"//caffe2/data/mnist:mnist_minidb",
"//gtest:caffe2_gtest_main",
"//caffe2/test:caffe2_gtest_main",
]
)
14 changes: 14 additions & 0 deletions caffe2/test/BREW
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
cc_library(
name = "caffe2_gtest_main",
srcs = ["caffe2_gtest_main.cc"],
deps = [
"//third_party:gtest",
"//caffe2/core:core",
],
)

cc_test(
name = "caffe2_gtest_main_binary",
srcs = [],
deps = [":caffe2_gtest_main"],
)
File renamed without changes.
4 changes: 2 additions & 2 deletions caffe2/utils/BREW
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ cc_test(
deps = [
":math",
"//caffe2/proto:caffe2_proto",
"//gtest:caffe2_gtest_main",
"//caffe2/test:caffe2_gtest_main",
"//caffe2/core:core",
],
)
Expand All @@ -64,7 +64,7 @@ cc_test(
],
deps = [
":simple_queue",
"//gtest:caffe2_gtest_main",
"//caffe2/test:caffe2_gtest_main",
],
)

Expand Down
Loading

0 comments on commit 0747a4a

Please sign in to comment.