提交 07636e3c 编写于 作者: L LINxiansheng 提交者: wangzelin.wzl

Add UOS to OceanBase

上级 18da76ec
...@@ -48,6 +48,7 @@ OceanBase 数据库使用 [MulanPubL - 2.0](https://license.coscl.org.cn/MulanPu ...@@ -48,6 +48,7 @@ OceanBase 数据库使用 [MulanPubL - 2.0](https://license.coscl.org.cn/MulanPu
| OpenAnolis | 8.2 | x86_64 | ✅ | ✅ | ✅ | ✅ | | OpenAnolis | 8.2 | x86_64 | ✅ | ✅ | ✅ | ✅ |
| SUSE | 15.2 | x86_64 | ✅ | ✅ | ✅ | ✅ | | SUSE | 15.2 | x86_64 | ✅ | ✅ | ✅ | ✅ |
| Ubuntu | 16.04, 18.04, 20.04 | x86_64 | ✅ | ✅ | ✅ | ✅ | | Ubuntu | 16.04, 18.04, 20.04 | x86_64 | ✅ | ✅ | ✅ | ✅ |
| UOS | 20 | x86_64 | ✅ | ✅ | ✅ | ✅ |
## 如何构建 ## 如何构建
...@@ -55,7 +56,7 @@ OceanBase 数据库使用 [MulanPubL - 2.0](https://license.coscl.org.cn/MulanPu ...@@ -55,7 +56,7 @@ OceanBase 数据库使用 [MulanPubL - 2.0](https://license.coscl.org.cn/MulanPu
在构建前您需要确认您的机器已经安装必要的软件: 在构建前您需要确认您的机器已经安装必要的软件:
#### Fedora 系列 (包括 CentOS,Fedora,OpenAnolis,RedHat 等) #### Fedora 系列 (包括 CentOS,Fedora,OpenAnolis,RedHat, UOS等)
```sh ```sh
yum install git wget rpm* cpio make glibc-devel glibc-headers binutils yum install git wget rpm* cpio make glibc-devel glibc-headers binutils
......
...@@ -48,6 +48,7 @@ OceanBase Database is under [MulanPubL - 2.0](https://license.coscl.org.cn/Mulan ...@@ -48,6 +48,7 @@ OceanBase Database is under [MulanPubL - 2.0](https://license.coscl.org.cn/Mulan
| OpenAnolis | 8.2 | x86_64 | ✅ | ✅ | ✅ | ✅ | | OpenAnolis | 8.2 | x86_64 | ✅ | ✅ | ✅ | ✅ |
| SUSE | 15.2 | x86_64 | ✅ | ✅ | ✅ | ✅ | | SUSE | 15.2 | x86_64 | ✅ | ✅ | ✅ | ✅ |
| Ubuntu | 16.04, 18.04, 20.04 | x86_64 | ✅ | ✅ | ✅ | ✅ | | Ubuntu | 16.04, 18.04, 20.04 | x86_64 | ✅ | ✅ | ✅ | ✅ |
| UOS | 20 | x86_64 | ✅ | ✅ | ✅ | ✅ |
## How to build ## How to build
...@@ -55,7 +56,7 @@ OceanBase Database is under [MulanPubL - 2.0](https://license.coscl.org.cn/Mulan ...@@ -55,7 +56,7 @@ OceanBase Database is under [MulanPubL - 2.0](https://license.coscl.org.cn/Mulan
Before building, you need to confirm that your device has installed the necessary software. Before building, you need to confirm that your device has installed the necessary software.
#### Fedora based (, including CentOS, Fedora, OpenAnolis, RedHat, etc.) #### Fedora based (, including CentOS, Fedora, OpenAnolis, RedHat, UOS, etc.)
```sh ```sh
yum install git wget rpm* cpio make glibc-devel glibc-headers binutils yum install git wget rpm* cpio make glibc-devel glibc-headers binutils
......
...@@ -64,6 +64,9 @@ function get_os_release() { ...@@ -64,6 +64,9 @@ function get_os_release() {
sles) sles)
version_ge "15" && compat_centos7 && return version_ge "15" && compat_centos7 && return
;; ;;
uos)
version_ge "20" && compat_centos7 && return
;;
esac esac
not_supported && return 1 not_supported && return 1
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册