blade-build
blade-build copied to clipboard
Blade is a powerful build system from Tencent, supports many mainstream programming languages, such as C/C++, java, scala, python, protobuf...
**Describe the bug** 编译错误信息没有高亮显示的问题,输出信息截图如下:  **To Reproduce** **Expected behavior** 希望报错的行能高亮显示 **Error message** **System (please complete the following information):** - OS: centos - Python version: 2.7.5 - Version blade (developing, unversioned)...
现在所有的CC、CXX rule内 都deps gcc,这样在使用libc++的时候会导致各种各样的错误,是否可以考虑默认剔除?或者提供选项更改?
example的swig文件夹的BUILD,把swig_library放开,编译,报错: swig/BUILD:10: error: example: Not implemented 查看src/blade/swig_library_target.py,generate方法没实现,是不支持用swig生成其它语言接口了吗?
```python prebuilt_cc_library_group( name = 'mkl', libs = [ 'lib64/libmkl_intel_ilp64.a', 'lib64/libmkl_gnu_thread.a', 'lib64/libmkl_core.a'], ) ``` The libraries will be enclosed between the `-Wl,--start-group` and `-Wl,--end-group`.
with distcc on, when err occerd, output of g++ -H is like .... ./proj/.../foo.h .. /usr/.../bar.h Multiple include guards may be useful for: .... ./proj/.../foo.h .. /usr/.../bar.h "gcc's err msg"...
**问题描述** 命令为: `blade test ... -j8 -p release --full-test --gcov` **构建选项为** `Namespace(args=[], cache_dir=None, cache_size=2147483648, color='auto', command='test', fulltest=True, gcov=True, generate_dynamic=False, generate_java=False, generate_php=False, gprof=False, jobs=8, keep_going=False, m='64', no_debug_info=False, no_test=False, profile='release', scons_only=False, show_details=True,...
大部分IDE能够识别CMakeLists.txt,如果blade能够支持BUILD文件转换为CMakeLists.txt就能无缝支持大部分IDE了. 现在使用blade除了编写BUILD文件编译还需要编写CMakeLists.txt或者其他IDE的项目配置文件做代码提示跳转之类的功能,与IDE的衔接不太友好.
e.g. control symbol's visibility ```python cc_plugin( name = 'xxx' srcs = [ 'a.cc', 'visibility.ld' ], ... ) ```