Commit 00498f23 authored by jamesge's avatar jamesge

Merge branch 'master' of https://github.com/brpc/brpc

parents 6b83e0f5 2aea6910
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment