add loongarch64 support for gearmand
This commit is contained in:
parent
0b95a6d3d5
commit
486e097a9d
25
0001-add-loongarch64-support-for-gearmand.patch
Normal file
25
0001-add-loongarch64-support-for-gearmand.patch
Normal 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
|
||||||
|
|
||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user