!4 add loongarch64 support for gearmand

From: @zhangwenlong01 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2023-06-09 06:17:30 +00:00 committed by Gitee
commit d8b02410db
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From 01ad1976408db45adb5e83f4962c70f4c735a594 Mon Sep 17 00:00:00 2001
From: Wenlong Zhang <zhangwenlong@loongson.cn>
Date: Thu, 8 Jun 2023 11:46:36 +0000
Subject: [PATCH] add loongarch64 support for gearmand
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 49ac057..4908098 100755
--- a/configure
+++ b/configure
@@ -17054,7 +17054,7 @@ $as_echo_n "checking for boostlib >= $boost_lib_version_req... " >&6; }
libsubdirs="lib"
ax_arch=`uname -m`
case $ax_arch in
- x86_64|ppc64*|s390x|sparc64|aarch64)
+ x86_64|ppc64*|s390x|sparc64|aarch64|loongarch64)
libsubdirs="lib64 lib lib64"
;;
esac
--
2.33.0

View File

@ -9,6 +9,7 @@ Source1: gearmand.init
Source2: gearmand.sysconfig Source2: gearmand.sysconfig
Source3: gearmand.service Source3: gearmand.service
Patch0: gearmand-1.1.12-ppc64le.patch Patch0: gearmand-1.1.12-ppc64le.patch
Patch2: 0001-add-loongarch64-support-for-gearmand.patch
ExcludeArch: ppc ExcludeArch: ppc
BuildRequires: gcc-c++ chrpath libuuid-devel boost-devel >= 1.37.0, boost-thread sqlite-devel BuildRequires: gcc-c++ chrpath libuuid-devel boost-devel >= 1.37.0, boost-thread sqlite-devel
BuildRequires: tokyocabinet-devel libevent-devel libmemcached-devel, memcached hiredis-devel BuildRequires: tokyocabinet-devel libevent-devel libmemcached-devel, memcached hiredis-devel
@ -103,6 +104,9 @@ exit 0
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Thu Jun 8 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 1.1.19.1-2
- add loongarch64 support for gearmand
* Fri Apr 14 2023 liyanan <thistleslyn@163.com> - 1.1.20-1 * Fri Apr 14 2023 liyanan <thistleslyn@163.com> - 1.1.20-1
- Update to 1.1.20 - Update to 1.1.20