Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
a4562980
Commit
a4562980
authored
Jul 29, 2017
by
gejun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update README
Change-Id: I0dc025fad2e98929ef67094bfb96d2de3734bdb8
parent
a9accd03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
README
README
+9
-8
No files found.
README
View file @
a4562980
The opensource version of baidu-rpc
# BUILD
### Ubuntu
### Ubuntu
/LinuxMint/WSL
**install deps**
sudo apt-get install libgflags-dev libprotobuf-dev libprotoc-dev libleveldb-dev libsnappy-dev
Common: sudo apt-get install git g++ make
gflags: sudo apt-get install libgflags-dev
protobuf: sudo apt-get install libprotobuf-dev libprotoc-dev protobuf-compiler
leveldb(used by rpcz): sudo apt-get install libleveldb-dev libsnappy-dev
openssl(for https): libssl-dev
**compile**
git clone this repo. cd into the repo and run: sh config_brpc.sh --incs=/usr/include
--libs=/usr/lib
git clone this repo. cd into the repo and run: sh config_brpc.sh --incs=/usr/include --libs=/usr/lib
**run echo example**
cd into example/echo_c++, make, run echo_server and echo_client
**run examples with cpu/heap profilers**
...
...
@@ -14,11 +17,9 @@ Rerun config_brpc.sh
### Baidu-internal
**setup directories**
download deps: third-64/gflags@gflags_2-0-0-100_PD_BL third-64/protobuf@protobuf_2-4-1-1100_PD_BL
third-64/leveldb@leveldb_1-0-0-0_PD_BL
download deps: third-64/gflags@gflags_2-0-0-100_PD_BL third-64/protobuf@protobuf_2-4-1-1100_PD_BL third-64/leveldb@leveldb_1-0-0-0_PD_BL
**compile**
git clone this repo. cd into the repo and run: sh config_brpc.sh --incs=../../../third-64
--libs=../../../third-64
git clone this repo. cd into the repo and run: sh config_brpc.sh --incs=../../../third-64 --libs=../../../third-64
**run examples with cpu/heap profilers**
download deps: third-64/tcmalloc@tcmalloc_1-7-0-200_PD_BL
Rerun config_brpc.sh
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment