baidu / broc Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
house.baidu.com
文档写得乱七八糟,安装有很多问题,草尼玛**
protoc命令在处理proto文件时,结果文件会保留一部分proto文件的路径信息,
例如
proto: a/b/c/.proto
cpp_out: broc_out/baidu/util
protoc命令处理完proto生成的结果文件为: broc_out/baidu/util/b/c/.pb.cc
详见:https://developers.google.com/protocol-buffers/docs/reference/cpp-generated#invocation
except for git support
BrocObjectMaster中计算源文件依赖的头文件时,是一个单独的线程再跑,当需要计算的源文件比较多时,耗时较长,需要进行优化
当执行下面broc build时会出现下面的问题,而在linux下则不会出现。
File "/Users/baidu/rsftools/waimai/zhangxiao_iwm/broc_src/client/broc", line 372, in
ret = main()
File "/Users/baidu/rsftools/waimai/zhangxiao_iwm/broc_src/client/broc", line 333, in main
return _build(options)
File "/Users/baidu/rsftools/waimai/zhangxiao_iwm/broc_src/client/broc", line 206, in _build
os.chdir(root_node.workspace)
OSError: [Errno 2] No such file or directory: '/Users/baidu/rsfdev/csscore_1-0-13_BRANCH/w'
open source demo
还在走内部的流程,计划月底开源出来,也麻烦你们提点建议
日志如下:
[2015-12-30 01:49:35 140265561257728] Initialized empty Git repository in /root/brocbuild/configure/.git/
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/brocbuild/configure/info/refs
fatal: HTTP request failed
[2015-12-30 01:49:35 140265561257728] fetch BROC failed
[2015-12-30 01:49:35 140265561257728] run command git clone https://github.com/brocbuild/test brocbuild/test && cd brocbuild/test && git fetch --all && git checkout master
[2015-12-30 01:50:37 140265561257728] Initialized empty Git repository in /root/brocbuild/test/.git/
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/brocbuild/test/info/refs
fatal: HTTP request failed
[2015-12-30 01:50:37 140265561257728] fetch BROC failed
[2015-12-30 01:50:39 140265561257728] run command git clone https://github.com/brocbuild/common brocbuild/common && cd brocbuild/common && git fetch --all && git checkout master
[2015-12-30 01:50:44 140265561257728] run command git clone https://github.com/brocbuild/configure brocbuild/configure && cd brocbuild/configure && git fetch --all && git checkout master
[2015-12-30 01:51:06 140265561257728] There is no BROC in these modules:
https://github.com/brocbuild/configure
https://github.com/brocbuild/test
[2015-12-30 01:51:06 140265561257728] Analyzing dependency failed
需要优化CONFIGS标签解析方案
show how to use issue
protoc命令在处理proto文件时,结果文件会保留一部分proto文件的路径信息,
例如
proto: a/b/c/.proto
cpp_out: broc_out/baidu/util
protoc命令处理完proto生成的结果文件为: broc_out/baidu/util/b/c/.pb.cc
详见:https://developers.google.com/protocol-buffers/docs/reference/cpp-generated#invocation
test
添加gcc/g++缓存,如果gcc/g++发生变化需要进行增量编译
是不是考虑依赖模块中没有BROC文件,因为有些依赖模块本身不需要编译
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.