92 Commits

Author SHA1 Message Date
Chuang Zhang f90ab52b64 docs: add Bazel build guide and bzlmod example (#3468)
* docs: add Bazel build guide for bRPC (#13)

* docs: fix build_with_bazel_module echo example

* docs: explain why the bzlmod example repeats the root overrides (#24)

---------

Co-authored-by: Winchell <cw20050111@gmail.com>
2026-08-24 18:14:07 +08:00
darion-yaphet 0313102276 build(cxx): align all builds on a C++14 baseline (#3419)
* build(cxx): align all builds on a C++14 baseline

CMake, Make, tests, tools, and examples now require C++14 so every supported build path shares the same minimum language level. The compiler checks and user-facing documentation reflect that baseline.

* fix(test): keep cores scoped to the failing test

Clear prior cores before each test binary. A passing death test can leave a core that would otherwise be used to diagnose an unrelated later failure.

* revert src/butil/type_traits.h
2026-08-06 17:34:49 +08:00
tongke 6ef8b9ddeb Fix libunwind linked by default on x86_64 cpu when building via bazel (#2973)
* Fix libunwind linked by default on x86_64 cpu when build with bazel

* fix errors in getting_started.md english version

* add link libunwind instruction for bazel
2025-05-24 20:07:54 +08:00
Bright Chen 7a7d1c83e5 Support AddressSanitizer (#2890)
* Support AddressSanitizer

* Add gperftools helper header
2025-03-26 20:07:45 +08:00
Bright Chen a18463f6c3 Support task tracer (#2851)
* Support task tracer

* Opt signal trace

* Rename BRPC_VALIDATE_GFLAG to BUTIL_VALIDATE_GFLAG

* Update picture of document
2025-01-06 14:43:55 +08:00
Xiaofeng Wang 6c0195f71d docs: update build requirements (#2837) 2024-12-08 17:15:44 +08:00
Zhe Zhang b82f2b87de Fix build instructions in getting_started.md (#2832) 2024-11-30 10:59:34 +08:00
Bright Chen 0128bb11d6 Update protobuf version in doc (#2618) 2024-04-29 10:13:11 +08:00
wwbmmm 64bd858dbc Update mac install document 2023-12-25 21:48:23 +08:00
Wongony 7a95e5dab5 Update getting_started.md (#2444) 2023-11-10 16:57:10 +08:00
Xiaofeng Wang 0eb6a79f28 update project links (#2200)
- brpc/brpc -> apache/brpc
2023-04-11 09:48:46 +08:00
zuyu 2ec8f469f8 fix gtest build cmd in doc (#2154) 2023-03-07 18:32:27 +08:00
Weibing Wang 6b563554f2 Remove incubator (#2056) 2023-01-10 10:33:14 +08:00
Ketor b3955e943a Fix format issue of doc/cn/getting_started.md. (#2014)
Signed-off-by: Ketor <d.ketor@gmail.com>

Signed-off-by: Ketor <d.ketor@gmail.com>
2022-11-25 09:09:33 +08:00
serverglen 6feb13dc57 Update getting_started.md 2022-11-14 16:57:35 +08:00
Jack·Boos·Yu 3ae3400c5f [document] Add vcpkg instruction step (#1925) 2022-09-16 18:45:15 +08:00
果冻虾仁 d82f8667cb Fix typo: /user is /usr (#1886) 2022-08-15 11:22:39 +08:00
wwbmmm f7d897bd07 [doc] Update supported gcc version 2022-07-18 16:19:41 +08:00
LorinLee 28eb063606 Merge pull request #1783 from wwbmmm/fix-attribute-const
Fix __const__ compile error in gcc version >= 11.2.0
2022-07-15 21:53:26 +08:00
Xiaofeng Wang ec73b99fe6 doc: update compiling with cmake 2022-07-13 22:52:34 +08:00
wangweibing f345f528ba Merge branch 'master' into fix-attribute-const 2022-06-09 11:16:01 +08:00
James Ge 9556320afc Elaborate how-to-build steps for MacOS 2022-06-08 20:11:08 +08:00
James Ge efa9989e99 Support apple silicon 2022-06-08 16:49:33 +08:00
wangweibing 87e18c6a15 Fix __const__ compile error in gcc version >= 11.2.0 2022-06-07 14:51:21 +08:00
Tudou 8f01941e05 docs: fix typo 2022-02-16 20:25:13 +08:00
therealnick233 da9d330307 fix小typo
found when following the instruction
2021-11-25 17:51:02 +08:00
YIXIAO SHI 9fa6db0db1 Fix typo 2021-09-17 23:40:20 +08:00
LorinLee f88a506915 docs: fix centos compile options 2021-08-15 22:59:32 +08:00
果冻虾仁 802531f439 Update getting_started.md 2021-08-12 11:58:08 +08:00
guodongxiaren fe1611e595 english version and chinese version 2021-08-11 21:30:57 +08:00
果冻虾仁 80d1590740 Tanslate getting_started.md into Chinese
tanslate cn/getting_started.md into Chinese.
move origin getting_started.md to docs/en.
2021-08-11 21:23:08 +08:00
jamesge e93e0c2afe fix CMakeList.txt in examples and rename BUILD to BUILD.bazel to avoid conflict with cmake 2020-12-05 14:51:40 +08:00
jamesge 2aea691078 Update getting_started.md 2020-11-25 19:07:36 +08:00
jamesge 7b95debc36 Add instructions to remove CMakeCache.txt before re-running cmakes 2019-08-26 00:12:41 -07:00
zhujiashun 1b90ea18d9 unify dynamic link option in make and cmake 2019-08-26 14:32:29 +08:00
Ge Jun df41f3889a Adjust position of cmake 2019-08-05 19:51:41 +08:00
Ge Jun 9f9f857381 Add -y to apt-get commands 2019-08-01 14:43:49 +08:00
zhujiashun 034c9a3bda refine docs 2019-06-21 17:04:52 +08:00
zhujiashun 0ac002761e update docs 2019-06-21 17:00:45 +08:00
zhujiashun 30b64f9f56 improve the way of running ut in cmake 2019-06-04 12:08:26 +08:00
zhujiashun 2f1595a407 improve the way of running ut in cmake 2019-06-04 12:04:23 +08:00
zhujiashun 05473176ea Fix typo in gflags version 2019-05-21 11:51:51 +08:00
Cholerae Hu 55e39400f0 fix googletest compile commands on macos 2019-02-14 11:19:19 +08:00
wangyao02 9ce1aa6f05 - rename build to bld in doc, make Mac build ok when case sensitive 2018-11-05 12:24:42 +08:00
gejun 47bdae443a fix docs links in last commit 2018-08-03 09:38:51 +08:00
gejun 4092efb997 fix docs links in last commit 2018-08-03 09:34:41 +08:00
gejun 188fd03b90 align getting_started.md and thrift.md 2018-08-03 09:31:59 +08:00
Ge Jun b494b28d3f remove dollar-sign before one-liner scripts 2018-07-20 11:57:12 +08:00
Ge Jun b1fbb34230 move gtest installation before compilation 2018-07-20 11:49:27 +08:00
Ge Jun 38eacc9f14 polish getting_started.md 2018-07-19 18:01:43 +08:00