This is an automated email from the ASF dual-hosted git repository. jamesge pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git
The following commit(s) were added to refs/heads/master by this push: new 2aea691 Update getting_started.md 2aea691 is described below commit 2aea69107891060eeb98ec7ce61f1a1a8f033ada Author: jamesge <jge...@gmail.com> AuthorDate: Wed Nov 25 19:07:36 2020 +0800 Update getting_started.md --- docs/cn/getting_started.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/cn/getting_started.md b/docs/cn/getting_started.md index 0f5a364..0b70895 100644 --- a/docs/cn/getting_started.md +++ b/docs/cn/getting_started.md @@ -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 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org