#/bin/shif [ -f ~/.bash_profile ] ; then. ~/.bash_profilefiMAKE_JOBS=`lscpu | grep '^CPU(s):'|awk '{print $NF}'`if [ ${MAKE_JOBS} -ge 16 ] ; thenMAKE_JOBS=`expr ${MAKE_JOBS} - 4`elseMAKE_JOBS=`expr ${MAKE_JOBS} - 1`fiMAJOR_VERSION=8MINOR_VERSION=4PATCH_VERSION=4RELEASE=4REVISION=d73de75905dOPT_DIR=/optGLIBC=`ldd --version | head -n 1 | awk '{print $NF}'`ARCH=`uname -p`OS=`grep '^ID=' /etc/os-release | sed 's/.*"\(.*\)".*/1円/ig'`GREATSQL=GreatSQL-${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}-${RELEASE}-${OS}-glibc${GLIBC}-${ARCH}MAKELOG=/tmp/greatsql-automake.logMYSQL_USER=mysqlDEST_DIR=${OPT_DIR}/${GREATSQL}GREATSQL_SRC=greatsql-${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}-${RELEASE}GREATSQL_BUILD_DOWNLOAD_URL="https://gitee.com/GreatSQL/GreatSQL-Docker/raw/greatsql-${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}-${RELEASE}/deppkgs"GREATSQL_MAKESH_DOWNLOAD_URL="https://gitee.com/GreatSQL/GreatSQL-Docker/raw/greatsql-${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}-${RELEASE}/GreatSQL-Build"GREATSQL_SRC_DOWNLOAD_URL="https://product.greatdb.com/GreatSQL-${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}-${RELEASE}"#BOOST_SRC_DOWNLOAD_URL="https://archives.boost.io/release/1.77.0/source/"BOOST_SRC_DOWNLOAD_URL="https://sourceforge.net/projects/boost/files/boost/1.77.0/"BOOST="boost_1_77_0"PATCHELF="patchelf-0.14.5"GREATSQL_ENV="greatsql-setenv.sh"GREATSQL_MAKESH="greatsql-automake.sh"if [ "`uname -p`" = "aarch64" ] ; thenRPCGEN="rpcgen-1.3.1-4.el8.aarch64.rpm"elseRPCGEN="rpcgen-1.3.1-4.el8.x86_64.rpm"fiCMAKE_EXE_LINKER_FLAGS=""if [ ${ARCH} = "x86_64" ] ; thenCMAKE_EXE_LINKER_FLAGS=" -ljemalloc "fiDEPS="autoconf automake binutils bison bzip2 cmake cyrus-sasl-devel cyrus-sasl-scram \gcc-c++ gcc-toolset-11 gcc-toolset-11-annobin-plugin-gcc gcc-toolset-11-libatomic-devel \jemalloc jemalloc-devel krb5-devel libaio-devel libatomic libcurl-devel libicu libicu-devel libtirpc-devel \libudev-devel m4 make ncurses-devel numactl-devel openldap-devel openssl openssl-devel \pam-devel patchelf perl protobuf-lite readline-devel zlib-devel findutils procps-ng xz"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型