Add support for riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-03-22 12:23:11 +02:00
parent 03a880f8bd
commit b47a739ccf
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB

View File

@ -1,7 +1,7 @@
Name: jemalloc Name: jemalloc
Version: 5.3.0 Version: 5.3.0
Release: 3%{?dist} Release: 3.0.riscv64%{?dist}
Summary: General-purpose scalable concurrent malloc implementation Summary: General-purpose scalable concurrent malloc implementation
License: BSD License: BSD
@ -11,7 +11,7 @@ Source0: https://github.com/jemalloc/%{name}/releases/download/%{version}
BuildRequires: gcc BuildRequires: gcc
BuildRequires: /usr/bin/xsltproc BuildRequires: /usr/bin/xsltproc
BuildRequires: perl-generators BuildRequires: perl-generators
%ifnarch s390 %{mips} %ifarch %{valgrind_arches}
BuildRequires: valgrind-devel BuildRequires: valgrind-devel
%endif %endif
BuildRequires: make BuildRequires: make
@ -32,7 +32,7 @@ developing applications that use %{name}.
%setup -q %setup -q
# Override PAGESIZE, bz #1545539 # Override PAGESIZE, bz #1545539
%ifarch %ix86 %arm x86_64 s390x %ifarch %ix86 %arm x86_64 s390x riscv64
%define lg_page --with-lg-page=12 %define lg_page --with-lg-page=12
%endif %endif
@ -105,6 +105,9 @@ find %{buildroot}%{_libdir}/ -name '*.a' -exec rm -vf {} ';'
%ldconfig_scriptlets %ldconfig_scriptlets
%changelog %changelog
* Tue Mar 22 2023 David Abdurachmanov <davidlt@rivosinc.com> - 5.3.0-3.0.riscv64
- Add support for riscv64
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-3 * Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild