54 Commits

Author SHA1 Message Date
zhujiashun 1b90ea18d9 unify dynamic link option in make and cmake 2019-08-26 14:32:29 +08:00
Weibing Wang 078051f9bf Update license header to Apache 2019-06-20 14:22:57 +08:00
gejun d02badcf11 Change protocol name from h2c to h2 2018-09-29 22:44:23 +08:00
gejun 88ad7672ee Not set content-length in h2 & change default content-type of h2 to proto 2018-09-28 19:31:54 -07:00
Qihe Bian d42f35109a Fix cmake build issue when use this project as a submodule. (#428)
* Fix cmake build issue when use this project as a submodule.
* Add ignore.
2018-08-19 10:07:11 +08:00
zyearn 06eb03560a - Remove weak symbol _RegisterThriftProtocol in CMakeLists.txt
- find libthrift* in example when using brpc with thrift protocol
  enabled
2018-07-06 08:43:32 +08:00
zhujiashun d2e549af44 add weak symbols _RegisterThriftProtocol compile option to all examples 2018-05-16 17:06:07 +08:00
James Ge 8e8fd83da2 not require gperftools by default in echo_c++ and derivative examples 2018-04-29 23:56:11 -07:00
zyearn 8c374a505d fix static linking in ex 2018-04-30 09:34:24 +08:00
zyearn 802f8ca0a8 Make Makefile work as well in MacOs 2018-04-30 09:23:07 +08:00
zhujiashun 3a7e8ec67a Update example/*/CMakeLists.txt as well 2018-04-28 12:30:24 +08:00
zhujiashun 5654319b2a Fix explicit type conversion from bthread_t to pthread_t in mac 2018-04-13 16:08:53 +08:00
zyearn 91530efc77 Merge branch 'master' of github.com:brpc/brpc into cmake_support 2018-04-12 23:22:37 +08:00
zhujiashun be481c16a5 add a preliminary implementation of futex in macos 2018-03-14 19:25:15 +08:00
Zhangyi Chen e36a8b0027 Revert changes on Makefile 2018-01-24 23:24:19 -08:00
Zhangyi Chen 32719a43f6 Renam libbrpc_static.a to libbrpc.a 2018-01-24 22:57:33 -08:00
zhujiashun d9ea91cbfb remove unnecessary code in example 2018-01-15 10:13:20 +08:00
Ge Jun 50b8e99955 Merge pull request #191 from brpc/cmake_support
make lib include bin into $PWD/output & make all example be able to be compiled by default
2018-01-10 11:11:33 +08:00
zhujiashun b0d31fb6ac make lib include bin into /home/zhujiashun/brpc/output & make all example be able to be compiled by default 2018-01-09 19:40:01 +08:00
gejun 4642392abc Replace -std=gnu++11 with -std=c++11 2018-01-07 20:07:54 +08:00
zhujiashun c1e166110c refine example/echo_c++/CMakeLists.txt 2018-01-06 20:00:58 -08:00
zhujiashun 3f73429626 make example/echo_c++/CMakeLists.txt compiled alone 2018-01-05 23:05:56 -08:00
zhujiashun d71fb5e3fe Improve compatibility & set flags for test 2018-01-05 15:29:42 +08:00
zhujiashun 1ac671201d make test be compiled alone 2018-01-02 17:38:39 -08:00
zhujiashun 5a170fe56c add flag EXAMPLE_LINK_SO 2018-01-02 15:53:25 +08:00
zhujiashun 997522bce8 remove unnecessary find protobuf 2017-12-26 14:47:17 +08:00
zhujiashun b87dfdbff2 support all compilation features 2017-12-07 15:18:47 +08:00
zhujiashun 27643b648d add example support 2017-12-05 07:04:22 -08:00
gejun 525cbd48e0 remove most noflush from examples 2017-11-11 14:48:58 +08:00
gejun 472cf747c0 remove -Werror from makefiles of examples and tools 2017-10-26 11:56:27 +08:00
gejun 5b9bbfee3a add --nodebugsymbols to remove -g 2017-09-23 21:32:03 -07:00
gejun 8ae7b0c898 Decide namespace of gflags in config_brpc.sh 2017-09-19 20:38:38 +08:00
gejun f0d9173398 CXXFLAGS in examples depend on CPPFLAGS 2017-09-19 19:37:53 +08:00
gejun c3ae57a09f Fixes on docs and comments 2017-09-14 17:10:56 +08:00
gejun b9e6314c39 Examples can link with libbrpc.so
Change-Id: I7ac6b4842ae992f95492ef40f7d32ce541026c06
2017-09-11 17:13:14 +08:00
gejun 80f9f2f160 Rename base to butil to avoid potential naming conflicts 2017-09-08 17:17:35 +08:00
gejun 023371e643 Change copyright to Baidu, Inc 2017-09-05 19:44:12 +08:00
gejun 8d4e0d814d Patch svn r35203 r35204 2017-09-02 17:48:41 +08:00
gejun 7124ac6f1f Remove blank lines at beginning and end of source files 2017-09-02 17:12:43 +08:00
gejun 70d77b202e Combine all libs into one 2017-08-24 13:39:39 +08:00
gejun 6301cdef4f .pb.h depends on .proto as well 2017-08-21 16:41:49 +08:00
gejun 00a7a10fba Fixes on building in baidu-internal 2017-08-21 13:16:43 +08:00
gejun 36fc4e5f02 Fix issues on ubuntu
Change-Id: If093feda75832e30403599b34c86a47b010ab477
2017-08-21 00:36:36 +08:00
gejun 6a2aafc877 Fix compilation in ubuntu; Update README
Change-Id: I2a2ba1d9c9180f8d7210508207442b77d4f115da
2017-08-18 20:22:56 +08:00
gejun 83507a6b99 Remove build_time related code; Replace test/COMAKE with test/Makefile; Unify most Makefile in examples 2017-08-18 18:46:37 +08:00
gejun e14cf3f063 Patch svn r35075 & Add back -fno-omit-frame-pointer in all Makefiles to support perf
Change-Id: I029ad0029c4e08649da381a87d0bc40a59ffa039
2017-08-17 17:33:01 +08:00
gejun 29ac770af8 patch svn r34950
Change-Id: I6e1a378ae4dc2a739416010d78cc9df64f315527
2017-08-02 14:22:05 +08:00
gejun 4c2c780209 support dynamic linking of deps
Change-Id: Ifb03869fddec3e67f10f0aa7efd7d28a49b2b260
2017-07-31 15:46:55 +08:00
gejun ca2c262510 fix the bootstraping hang when program is linked with libunwind
Change-Id: I381c6cec791f6015d6e2183f05c7269bf814a184
2017-07-28 14:20:07 +08:00
gejun 2b5ae996a3 Compilable in linux-mint 17.3 gcc 4.8/5.4, programs hang after being linked with libunwind
Change-Id: Ie49d643b5f53d393bedc79496ca252631bedffac
2017-07-27 19:27:03 +08:00