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
1a4e9476
Commit
1a4e9476
authored
Aug 22, 2017
by
gejun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add newline to README
Change-Id: Ic1bc65d9dcd395e1c04ef9189311397784774561
parent
dad7abd4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
README
README
+4
-4
No files found.
README
View file @
1a4e9476
...
@@ -2,16 +2,16 @@ The opensource version of baidu-rpc
...
@@ -2,16 +2,16 @@ The opensource version of baidu-rpc
# BUILD
# BUILD
### Ubuntu/LinuxMint/WSL
### Ubuntu/LinuxMint/WSL
**install common deps**
**install common deps**
Including: git g++ make libssl-dev
Including: git g++ make libssl-dev
**install gflags protobuf leveldb**
**install gflags protobuf leveldb**
Including: libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev
Including: libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev
If you need to statically link leveldb, install libsnappy-dev as well.
If you need to statically link leveldb, install libsnappy-dev as well.
**compile**
**compile**
git clone this repo. cd into the repo and run: sh config_brpc.sh --headers=/usr/include --libs=/usr/lib
git clone this repo. cd into the repo and run: sh config_brpc.sh --headers=/usr/include --libs=/usr/lib
**run example**
**run example**
cd into example/echo_c++, make, run echo_server and echo_client
cd into example/echo_c++, make, run echo_server and echo_client
**run examples with cpu/heap profilers**
**run examples with cpu/heap profilers**
Install libgoogle-perftools-dev and re-run config_brpc.sh before compiling
Install libgoogle-perftools-dev and re-run config_brpc.sh before compiling
**compile tests**
**compile tests**
Install gmock and gtest, use the gtest embedded in gmock and don't install libgtest-dev
Install gmock and gtest, use the gtest embedded in gmock and don't install libgtest-dev
sudo apt-get install google-mock; cd /usr/src; sudo cmake .; sudo make; sudo mv lib*.a gtest/lib*.a /usr/lib; sudo mv gtest/include/gtest /usr/include/
sudo apt-get install google-mock; cd /usr/src; sudo cmake .; sudo make; sudo mv lib*.a gtest/lib*.a /usr/lib; sudo mv gtest/include/gtest /usr/include/
...
...
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