This commit is contained in:
midoks
2022-06-27 18:47:15 +08:00
parent 6f369176b0
commit c58d4e69dc
3 changed files with 3 additions and 14 deletions
+1 -5
View File
@@ -15,10 +15,6 @@ install_tmp=${rootPath}/tmp/mw_install.pl
mysqlDir=${serverPath}/source/mysql
# 加快测试速度 For Github Action
MAKEJN="${MAKEJN:--j2}"
echo "MAKEJN:$MAKEJN"
Install_mysql()
{
mkdir -p ${mysqlDir}
@@ -62,7 +58,7 @@ Install_mysql()
-DDEFAULT_COLLATION=utf8mb4_general_ci \
-DCMAKE_C_COMPILER=/usr/bin/gcc \
-DCMAKE_CXX_COMPILER=/usr/bin/g++ \
&& make $MAKEJN && make install && make clean
&& make ${MAKEJN:--j2} && make install && make clean
if [ -d $serverPath/mysql ];then
echo '5.5' > $serverPath/mysql/version.pl