!6 Add riscv64 support
From: @East_x Reviewed-by: @jimmy_hero Signed-off-by: @jimmy_hero
This commit is contained in:
commit
9b6117a284
22
add-riscv64-support.patch
Normal file
22
add-riscv64-support.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff --git a/configure b/configure
|
||||
index 49ac057..9c0a693 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|loongarch64)
|
||||
+ x86_64|ppc64*|s390x|sparc64|aarch64|loongarch64|riscv64)
|
||||
libsubdirs="lib64 lib lib64"
|
||||
;;
|
||||
esac
|
||||
@@ -27319,7 +27319,7 @@ if ac_fn_c_try_compile "$LINENO"; then :
|
||||
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
|
||||
if test -n "$ac_prev"; then
|
||||
case $ac_word in
|
||||
- i?86 | x86_64 | ppc | ppc64*)
|
||||
+ i?86 | x86_64 | ppc | ppc64* | riscv64)
|
||||
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
|
||||
ac_arch=$ac_word
|
||||
else
|
||||
@ -1,6 +1,6 @@
|
||||
Name: gearmand
|
||||
Version: 1.1.20
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: A distributed job system
|
||||
License: BSD
|
||||
URL: http://www.gearman.org
|
||||
@ -10,6 +10,7 @@ Source2: gearmand.sysconfig
|
||||
Source3: gearmand.service
|
||||
Patch0: gearmand-1.1.12-ppc64le.patch
|
||||
Patch2: 0001-add-loongarch64-support-for-gearmand.patch
|
||||
Patch100: add-riscv64-support.patch
|
||||
ExcludeArch: ppc
|
||||
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
|
||||
@ -104,6 +105,9 @@ exit 0
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Jun 14 2023 EastDong <xudong23@iscas.ac.cn> - 1.1.20-2
|
||||
- add riscv64 support for gearmand
|
||||
|
||||
* Thu Jun 8 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 1.1.19.1-2
|
||||
- add loongarch64 support for gearmand
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user