We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f61064c commit c995878Copy full SHA for c995878
echo-servers/build.sh
@@ -21,14 +21,18 @@ case ${UNAME} in
21
esac
22
23
# install muduo => https://github.com/chenshuo/muduo.git
24
-if false; then
25
-cd ${ROOT_DIR}/..
26
-git clone https://github.com/chenshuo/muduo.git
27
-cd muduo
28
-mkdir build && cd build
29
-cmake .. && make && sudo make install
+TEST_MUDUO=false
+if [ "$TEST_MUDUO" == "true" ]; then
+ cd ${ROOT_DIR}/..
+ git clone https://github.com/chenshuo/muduo.git
+ cd muduo
+ mkdir build && cd build
30
+ cmake .. && make && sudo make install
31
fi
32
33
+# install libhv
34
cd ${ROOT_DIR}
-make libhv && sudo make install
35
+make libhv && sudo make install && sudo ldconfig
36
+
37
+# build echo-servers
38
make echo-servers
0 commit comments