add kylinsec platform

(cherry picked from commit 09fba82cd66e031435a20c69f457e89cde8bd090)
This commit is contained in:
ouyanglearnning 2022-04-14 14:57:03 +08:00 committed by zhang_xubo
parent aaa7918a97
commit f93eefc569
2 changed files with 41 additions and 3 deletions

View File

@ -0,0 +1,32 @@
From 02f0141586b12ca76582550a22894134e28c7962 Mon Sep 17 00:00:00 2001
From: xiewenhao <xiewenhao@kylinos.com.cn >
Date: Wed, 30 Mar 2022 17:32:43 +0800
Subject: [PATCH 2/2] add kylinsec platform
---
openGauss-server-2.1.0/src/get_PlatForm_str.sh | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/openGauss-server-2.1.0/src/get_PlatForm_str.sh b/openGauss-server-2.1.0/src/get_PlatForm_str.sh
index 9fff29a..3f222cd 100755
--- a/openGauss-server-2.1.0/src/get_PlatForm_str.sh
+++ b/openGauss-server-2.1.0/src/get_PlatForm_str.sh
@@ -135,6 +135,15 @@ then
plat_form_str=kylin_"$cpu_bit"
fi
+##################################################################################
+# kylinsec platform
+# the result form like this: kylinsec_aarch64
+##################################################################################
+if [ "$kernel"x = "kylinsec"x ]
+then
+ plat_form_str=kylinsec_"$cpu_bit"
+fi
+
##################################################################################
# ubuntu platform
# the result form like this: ubuntu_x86_64
--
2.18.1

View File

@ -12,7 +12,7 @@
Name: opengauss
Version: 2.1.0
Release: 5
Release: 6
Summary: openGauss is an open source relational database management system
License: MulanPSL-2.0 and MIT and BSD and zlib and TCL and Apache-2.0 and BSL-1.0
URL: https://gitee.com/opengauss/openGauss-server
@ -32,9 +32,11 @@ Patch21: 0002-zlib.patch
Patch22: 0003-zlib.patch
Patch23: makefile-miniunz.patch
Patch40: 0001-orc.patch
Patch41: 0002-add-kylinsec-platform.patch
Patch50: openssl3-adptor.patch
Patch51: compile_2309.patch
BuildRequires: cmake gcc gcc-c++ openssl-devel python
BuildRequires: cjson lz4-devel protobuf-devel snappy-devel zstd-devel boost-devel
BuildRequires: libcgroup-devel libcurl-devel unixODBC-devel jemalloc-devel krb5-devel
@ -89,6 +91,7 @@ pushd %{orc_name}-%{orc_version}
%patch40 -p1
popd
%patch41 -p1
%build
########### build cjson ###########
build_target=$(pwd)/deps_binarylibs
@ -305,11 +308,14 @@ fi
%changelog
* Mon Aug 14 2023 zhangxubo <zhangxubo1@huawei.com> - 2.1.0-7
* Mon Aug 14 2023 zhangxubo <zhangxubo1@huawei.com> - 2.1.0-8
- Fix bugs: #I7QJRO
* Sat Feb 11 2023 zhangxubo <zhangxubo1@huawei.com> - 2.1.0-6
* Sat Feb 11 2023 zhangxubo <zhangxubo1@huawei.com> - 2.1.0-7
- Fix bugs: #I6ED94
* Wed Mar 30 2022 ouyangminxiang <ouyangminxiang@kylinsec.com.cn> - 2.1.0-6
- add kylinsec platform
* Sat Mar 12 2022 zhangxubo <zhangxubo1@huawei.com> - 2.1.0-5
- Fix bugs: #I4VDYQ #I4V624 #I4UOUU #I4TCDB #I4TCB8