Add riscv64 support

This commit is contained in:
Andrew Lukoshko 2025-07-05 19:45:46 +00:00
parent c1038b588b
commit 5359559b06

View File

@ -104,7 +104,7 @@ ExcludeArch: %{ix86}
Name: %{majorname}%{majorversion}
Version: %{package_version}
Release: 2%{?with_debug:.debug}%{?dist}
Release: 2%{?with_debug:.debug}%{?dist}.alma.1
Summary: MySQL client programs and shared libraries
URL: http://www.mysql.com
@ -170,7 +170,7 @@ BuildRequires: mecab-devel
BuildRequires: bison
BuildRequires: libzstd-devel
BuildRequires: libcurl-devel
%ifnarch aarch64 s390x
%ifnarch aarch64 s390x riscv64
BuildRequires: numactl-devel
BuildRequires: libquadmath-devel
%endif
@ -599,10 +599,10 @@ cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \
-DSYSTEMD_SERVICE_NAME="%{daemon_name}" \
-DSYSTEMD_PID_DIR="%{pidfiledir}" \
-DWITH_INNODB_MEMCACHED=ON \
%ifnarch aarch64 s390x
%ifnarch aarch64 s390x riscv64
-DWITH_NUMA=ON \
%endif
%ifarch s390x
%ifarch s390x riscv64
-DUSE_LD_GOLD=OFF \
%endif
-DWITH_ROUTER=OFF \
@ -1131,6 +1131,9 @@ fi
%endif
%changelog
* Sat Jul 05 2025 Andrew Lukoshko <alukoshko@almalinux.org> - 8.4.4-2.alma.1
- Add riscv64 support
* Fri Feb 14 2025 Michal Schorm <mschorm@redhat.com> - 8.4.4-2
- Rebuilt