This commit is contained in:
dami
2026-09-11 22:10:30 +08:00
parent 73f58ced9a
commit ad160cb23e
70 changed files with 157 additions and 157 deletions
+2 -2
View File
@@ -152,13 +152,13 @@ Install_mysql()
cd ${mysqlDir}/mysql-5.5.62 && patch -p1 < ${rootPath}/plugins/mysql/patch/mysql-5.5-fix-arm-client_plugin.patch
fi
if [ "$OSNAME" == "ubuntu" ];then
if [ "$OSNAME" = "ubuntu" ];then
Install_dep
fi
OPTIONS=''
if [ "$OSNAME" == "debian" ] && [ "$VERSION_ID" == "13" ];then
if [ "$OSNAME" = "debian" ] && [ "$VERSION_ID" = "13" ];then
Install_dep_debain13
# export CFLAGS="-D__s64=long long -D__u64='unsigned long long' -D__s32=int -D__u32='unsigned int' -D__u16='unsigned short'"
# export CXXFLAGS="$CFLAGS"
+2 -2
View File
@@ -174,11 +174,11 @@ Install_mysql()
WHERE_DIR_GPP=`which g++`
fi
if [ "$OSNAME" == "ubuntu" ];then
if [ "$OSNAME" = "ubuntu" ];then
Install_dep
fi
if [ "$OSNAME" == "debian" ] && [ "$VERSION_ID" == "13" ];then
if [ "$OSNAME" = "debian" ] && [ "$VERSION_ID" = "13" ];then
Install_dep_debain13
fi
+2 -2
View File
@@ -130,7 +130,7 @@ Install_mysql()
WHERE_DIR_GCC=/usr/bin/gcc
WHERE_DIR_GPP=/usr/bin/g++
if [ "$OSNAME" == "centos" ] && [ "$VERSION_ID" == "7" ];then
if [ "$OSNAME" = "centos" ] && [ "$VERSION_ID" = "7" ];then
yum install -y libudev-devel
yum install -y centos-release-scl
yum install -y devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-binutils
@@ -142,7 +142,7 @@ Install_mysql()
echo $WHERE_DIR_GPP
fi
if [ "$OSNAME" == "ubuntu" ] && [ "$VERSION_ID" == "18.04" ];then
if [ "$OSNAME" = "ubuntu" ] && [ "$VERSION_ID" = "18.04" ];then
apt install -y libudev-dev
apt install -y libtirpc-dev
apt install -y libssl-dev
+3 -3
View File
@@ -130,7 +130,7 @@ Install_mysql()
WHERE_DIR_GCC=/usr/bin/gcc
WHERE_DIR_GPP=/usr/bin/g++
if [ "$OSNAME" == "centos" ] && [ "$VERSION_ID" == "7" ];then
if [ "$OSNAME" = "centos" ] && [ "$VERSION_ID" = "7" ];then
yum install -y libudev-devel
yum install -y centos-release-scl
yum install -y devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-binutils
@@ -142,7 +142,7 @@ Install_mysql()
echo $WHERE_DIR_GPP
fi
if [ "$OSNAME" == "ubuntu" ];then
if [ "$OSNAME" = "ubuntu" ];then
apt install -y libudev-dev
apt install -y libtirpc-dev
apt install -y libssl-dev
@@ -164,7 +164,7 @@ Install_mysql()
fi
if [ "$OSNAME" == "opensuse" ];then
if [ "$OSNAME" = "opensuse" ];then
zypper install -y gcc11
zypper install -y gcc11-c++
+1 -1
View File
@@ -171,7 +171,7 @@ Install_mysql()
fi
if [ "$OSNAME" == "opensuse" ];then
if [ "$OSNAME" = "opensuse" ];then
zypper install -y gcc11
zypper install -y gcc11-c++
+1 -1
View File
@@ -144,7 +144,7 @@ Install_mysql()
echo $WHERE_DIR_GPP
fi
if [ "$OSNAME" == "ubuntu" ];then
if [ "$OSNAME" = "ubuntu" ];then
apt install -y libudev-dev
apt install -y libtirpc-dev
apt install -y libssl-dev
+1 -1
View File
@@ -170,7 +170,7 @@ Install_mysql()
fi
if [ "$OSNAME" == "opensuse" ];then
if [ "$OSNAME" = "opensuse" ];then
zypper install -y gcc11
zypper install -y gcc11-c++