SINGA-27 Generate python modules for proto objects
Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/327ab9b0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/327ab9b0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/327ab9b0 Branch: refs/heads/master Commit: 327ab9b0f50654feaa43c1124685529bd798496a Parents: 3c5b569 Author: xiezl <[email protected]> Authored: Sun Jun 28 00:01:34 2015 +0800 Committer: xiezl <[email protected]> Committed: Sun Jun 28 00:01:34 2015 +0800 ---------------------------------------------------------------------- Makefile.am | 2 +- Makefile.in | 2 +- tool/plot/.gitignore | 0 3 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/327ab9b0/Makefile.am ---------------------------------------------------------------------- diff --git a/Makefile.am b/Makefile.am index f0fcfe4..21de15f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -123,8 +123,8 @@ clean-local: $(PROTO_HDRS) $(PROTO_SRCS): $(PROTOS) - echo $(top_srcdir) protoc --proto_path=$(top_srcdir)/src/proto --cpp_out=$(top_srcdir)/src/proto $(PROTOS) + mkdir -p $(top_srcdir)/tool/plot/ protoc --proto_path=$(top_srcdir)/src/proto --python_out=$(top_srcdir)/tool/plot $(PROTOS) mkdir -p $(top_srcdir)/include/proto/ cp $(top_srcdir)/src/proto/*.pb.h $(top_srcdir)/include/proto/ http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/327ab9b0/Makefile.in ---------------------------------------------------------------------- diff --git a/Makefile.in b/Makefile.in index 4f59a0d..561103d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1296,8 +1296,8 @@ clean-local: rm -rf $(PROTO_PYS) $(PROTO_HDRS) $(PROTO_SRCS): $(PROTOS) - echo $(top_srcdir) protoc --proto_path=$(top_srcdir)/src/proto --cpp_out=$(top_srcdir)/src/proto $(PROTOS) + mkdir -p $(top_srcdir)/tool/plot/ protoc --proto_path=$(top_srcdir)/src/proto --python_out=$(top_srcdir)/tool/plot $(PROTOS) mkdir -p $(top_srcdir)/include/proto/ cp $(top_srcdir)/src/proto/*.pb.h $(top_srcdir)/include/proto/ http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/327ab9b0/tool/plot/.gitignore ---------------------------------------------------------------------- diff --git a/tool/plot/.gitignore b/tool/plot/.gitignore new file mode 100644 index 0000000..e69de29
