add el9 build support

This commit is contained in:
nautaa 2023-09-19 02:10:10 +00:00 committed by ob-robot
parent 1264acc57a
commit 791ec736a1
3 changed files with 118 additions and 0 deletions

View File

@ -17,6 +17,11 @@ source /etc/os-release || exit 1
PNAME=${PRETTY_NAME:-"${NAME} ${VERSION}"}
PNAME="${PNAME} (${OS_ARCH})"
function compat_centos9() {
echo_log "[NOTICE] '$PNAME' is compatible with CentOS 9, use el9 dependencies list"
OS_RELEASE=9
}
function compat_centos8() {
echo_log "[NOTICE] '$PNAME' is compatible with CentOS 8, use el8 dependencies list"
OS_RELEASE=8
@ -58,6 +63,7 @@ function get_os_release() {
version_ge "7.0" && compat_centos7 && return
;;
ubuntu)
version_ge "22.04" && compat_centos9 && return
version_ge "16.04" && compat_centos7 && return
;;
centos)
@ -101,6 +107,7 @@ function get_os_release() {
version_ge "7.0" && OS_RELEASE=7 && return
;;
ubuntu)
version_ge "22.04" && compat_centos9 && return
version_ge "16.04" && compat_centos7 && return
;;
esac

55
deps/init/oceanbase.el9.aarch64.deps vendored Normal file
View File

@ -0,0 +1,55 @@
[target-default]
os=9
arch=aarch64
repo=http://mirrors.aliyun.com/oceanbase/development-kit/el/8/aarch64/
[target-community]
os=9
arch=aarch64
repo=http://mirrors.aliyun.com/oceanbase/community/stable/el/8/aarch64/
[target-apr-el9]
os=9
arch=aarch64
repo=http://mirrors.aliyun.com/oceanbase/development-kit/el/9/aarch64/
[deps]
devdeps-gtest-1.8.0-132022101316.el8.aarch64.rpm
devdeps-isa-l-static-2.22.0-22022092915.el8.aarch64.rpm
devdeps-libcurl-static-7.29.0-32022093010.el8.aarch64.rpm
devdeps-mariadb-connector-c-3.1.12-12022100422.el8.aarch64.rpm
devdeps-libaio-0.3.112-12022092915.el8.aarch64.rpm
devdeps-relaxed-rapidjson-1.0.0-52023011719.el8.aarch64.rpm
devdeps-openssl-static-1.0.1e-12022100422.el8.aarch64.rpm
devdeps-libxml2-2.10.4-42023082915.el8.aarch64.rpm
devdeps-mxml-2.12.0-12022090616.el8.aarch64.rpm
devdeps-xz-5.2.2-42022090615.el8.aarch64.rpm
devdeps-lua-5.4.6-22023082916.el8.aarch64.rpm
devdeps-oss-c-sdk-3.9.2-182022100412.el8.aarch64.rpm
devdeps-zlib-static-1.2.7-132022100815.el8.aarch64.rpm
devdeps-ncurses-static-6.2-72022100815.el8.aarch64.rpm
devdeps-boost-1.74.0-22022110914.el8.aarch64.rpm
devdeps-s2geometry-0.9.0-42022111116.el8.aarch64.rpm
devdeps-icu-69.1-72022112416.el8.aarch64.rpm
devdeps-cos-c-sdk-5.0.16-52023070517.el8.aarch64.rpm
[deps-apr-el9]
devdeps-apr-1.6.5-232023090616.el9.aarch64.rpm target=apr-el9
[tools]
obdevtools-binutils-2.30-12022100413.el8.aarch64.rpm
obdevtools-bison-2.4.1-12022100413.el8.aarch64.rpm
obdevtools-ccache-3.7.12-12022100417.el8.aarch64.rpm
obdevtools-cmake-3.22.1-22022100417.el8.aarch64.rpm
obdevtools-flex-2.5.35-12022100417.el8.aarch64.rpm
obdevtools-gcc9-9.3.0-52022092914.el8.aarch64.rpm
obdevtools-llvm-11.0.1-312022092921.el8.aarch64.rpm
[tools-deps]
devdeps-oblogmsg-1.0-52022113019.el8.aarch64.rpm
devdeps-rocksdb-6.22.1.1-52022100420.el8.aarch64.rpm
[test-utils]
ob-deploy-1.6.0-41.el8.aarch64.rpm target=community
obclient-2.2.2-1.el8.aarch64.rpm target=community
libobclient-2.2.2-3.el8.aarch64.rpm target=community

56
deps/init/oceanbase.el9.x86_64.deps vendored Normal file
View File

@ -0,0 +1,56 @@
[target-default]
os=9
arch=x86_64
repo=http://mirrors.aliyun.com/oceanbase/development-kit/el/8/x86_64/
[target-community]
os=9
arch=x86_64
repo=http://mirrors.aliyun.com/oceanbase/community/stable/el/8/x86_64/
[target-apr-el9]
os=9
arch=x86_64
repo=http://mirrors.aliyun.com/oceanbase/development-kit/el/9/x86_64/
[deps]
devdeps-gtest-1.8.0-132022101316.el8.x86_64.rpm
devdeps-isa-l-static-2.22.0-22022092915.el8.x86_64.rpm
devdeps-libcurl-static-7.29.0-32022093010.el8.x86_64.rpm
devdeps-libunwind-static-1.6.2-222022100410.el8.x86_64.rpm
devdeps-mariadb-connector-c-3.1.12-12022100422.el8.x86_64.rpm
devdeps-libaio-0.3.112-12022092915.el8.x86_64.rpm
devdeps-relaxed-rapidjson-1.0.0-52023011719.el8.x86_64.rpm
devdeps-openssl-static-1.0.1e-12022100422.el8.x86_64.rpm
devdeps-libxml2-2.10.4-42023082915.el8.x86_64.rpm
devdeps-mxml-2.12.0-12022090616.el8.x86_64.rpm
devdeps-xz-5.2.2-42022090615.el8.x86_64.rpm
devdeps-lua-5.4.6-22023082916.el8.x86_64.rpm
devdeps-oss-c-sdk-3.9.2-182022100412.el8.x86_64.rpm
devdeps-zlib-static-1.2.7-132022100815.el8.x86_64.rpm
devdeps-ncurses-static-6.2-72022100815.el8.x86_64.rpm
devdeps-boost-1.74.0-22022110914.el8.x86_64.rpm
devdeps-s2geometry-0.9.0-42022111116.el8.x86_64.rpm
devdeps-icu-69.1-72022112416.el8.x86_64.rpm
devdeps-cos-c-sdk-5.0.16-52023070517.el8.x86_64.rpm
[deps-apr-el9]
devdeps-apr-1.6.5-232023090616.el9.x86_64.rpm target=apr-el9
[tools]
obdevtools-binutils-2.30-12022100413.el8.x86_64.rpm
obdevtools-bison-2.4.1-12022100413.el8.x86_64.rpm
obdevtools-ccache-3.7.12-12022100417.el8.x86_64.rpm
obdevtools-cmake-3.22.1-22022100417.el8.x86_64.rpm
obdevtools-flex-2.5.35-12022100417.el8.x86_64.rpm
obdevtools-gcc9-9.3.0-52022092914.el8.x86_64.rpm
obdevtools-llvm-11.0.1-312022092921.el8.x86_64.rpm
[tools-deps]
devdeps-oblogmsg-1.0-52022113019.el8.x86_64.rpm
devdeps-rocksdb-6.22.1.1-52022100420.el8.x86_64.rpm
[test-utils]
ob-deploy-1.6.0-41.el8.x86_64.rpm target=community
obclient-2.2.2-1.el8.x86_64.rpm target=community
libobclient-2.2.2-3.el8.x86_64.rpm target=community