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
00498f23
Commit
00498f23
authored
Nov 26, 2020
by
jamesge
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/brpc/brpc
parents
6b83e0f5
2aea6910
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
getting_started.md
docs/cn/getting_started.md
+3
-2
No files found.
docs/cn/getting_started.md
View file @
00498f23
...
...
@@ -265,10 +265,11 @@ If you need to enable cpu/heap profilers in examples:
brew
install
gperftools
```
If you need to run tests,
install
and compile googletest (which is not compiled yet):
If you need to run tests,
download
and compile googletest (which is not compiled yet):
```
shell
git clone https://github.com/google/googletest
&&
cd
googletest/googletest
&&
mkdir
bld
&&
cd
bld
&&
cmake
-DCMAKE_CXX_FLAGS
=
"-std=c++11"
..
&&
make
&&
sudo mv
libgtest
*
/usr/lib/
&&
cd
-
git clone https://github.com/google/googletest
-b
release-1.10.0
&&
cd
googletest/googletest
&&
mkdir
bld
&&
cd
bld
&&
cmake
-DCMAKE_CXX_FLAGS
=
"-std=c++11"
..
&&
make
```
After the compilation, copy include/ and lib/ into /usr/local/include and /usr/local/lib respectively to expose gtest to all apps
### Compile brpc with config_brpc.sh
git clone brpc, cd into the repo and run
...
...
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