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
2aea6910
Unverified
Commit
2aea6910
authored
Nov 25, 2020
by
jamesge
Committed by
GitHub
Nov 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update getting_started.md
parent
a624f995
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 @
2aea6910
...
@@ -265,10 +265,11 @@ If you need to enable cpu/heap profilers in examples:
...
@@ -265,10 +265,11 @@ If you need to enable cpu/heap profilers in examples:
brew
install
gperftools
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
```
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
### Compile brpc with config_brpc.sh
git clone brpc, cd into the repo and run
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