编译兼容Alibaba Cloud Linux,更新readme文档

This commit is contained in:
LINxiansheng 2021-10-21 16:36:42 +08:00 committed by LINxiansheng
parent ed0ed1a0a8
commit e0748037b0
3 changed files with 5 additions and 0 deletions

View File

@ -40,6 +40,7 @@ OceanBase 数据库使用 [MulanPubL - 2.0](https://license.coscl.org.cn/MulanPu
| 操作系统 | 版本 | 架构 | 编译 | 包部署 | 编译部署 | mysqltest |
| ---- | ---- | ---- | ---- | ---- | ---- | ---- |
| Alibaba Cloud Linux | 2.1903 | x86_64 | ✅ | ✅ | ✅ | ✅ |
| CentOS | 7.2, 8.3 | x86_64 | ✅ | ✅ | ✅ | ✅ |
| Debian | 9.8, 10.9 | x86_64 | ✅ | ✅ | ✅ | ✅ |
| Fedora | 33 | x86_64 | ✅ | ✅ | ✅ | ✅ |

View File

@ -46,6 +46,7 @@ OceanBase Database is under [MulanPubL - 2.0](https://license.coscl.org.cn/Mulan
| OS | Ver. | Arch | Compilable | Package Deployable | Compiled Binary Deployable | Mysqltest Passed |
| ---- | ---- | ---- | ---- | ---- | ---- | ---- |
| Alibaba Cloud Linux | 2.1903 | x86_64 | ✅ | ✅ | ✅ | ✅ |
| CentOS | 7.2, 8.3 | x86_64 | ✅ | ✅ | ✅ | ✅ |
| Debian | 9.8, 10.9 | x86_64 | ✅ | ✅ | ✅ | ✅ |
| Fedora | 33 | x86_64 | ✅ | ✅ | ✅ | ✅ |

View File

@ -67,6 +67,9 @@ function get_os_release() {
uos)
version_ge "20" && compat_centos7 && return
;;
alinux)
version_ge "2.1903" && compat_centos7 && return
;;
esac
not_supported && return 1
}