提交 1615df58 编写于 作者: G guokuankuan

fix cmake

上级 eaae17d4
......@@ -3,5 +3,17 @@
BASE=$PWD
OUTPUT=output
mkdir -p $OUTPUT
if test -n "$BUILD_BRANCH"; then
# this script is run in SCM auto build
git checkout "$BUILD_BRANCH"
sudo apt-get update
sudo apt-get install libaio-dev
else
echo you must ensure libaio-dev have been installed
fi
git submodule --init --recursive
cd $BASE/$OUTPUT && cmake ../ -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=OFF
cd $BASE/$OUTPUT && make -j $(nproc) && make install
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册