From f41488a08a3b326f5089c7a49fdd1173aa15c79a Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Mon, 21 Nov 2022 18:15:26 +0200 Subject: [PATCH] Add support for riscv64 Signed-off-by: David Abdurachmanov --- jemalloc.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/jemalloc.spec b/jemalloc.spec index 5308f5d..a27fbb7 100644 --- a/jemalloc.spec +++ b/jemalloc.spec @@ -1,7 +1,7 @@ Name: jemalloc Version: 5.3.0 -Release: 2%{?dist} +Release: 2.0.riscv64%{?dist} Summary: General-purpose scalable concurrent malloc implementation License: BSD @@ -11,7 +11,7 @@ Source0: https://github.com/jemalloc/%{name}/releases/download/%{version} BuildRequires: gcc BuildRequires: /usr/bin/xsltproc BuildRequires: perl-generators -%ifnarch s390 %{mips} +%ifarch %{valgrind_arches} BuildRequires: valgrind-devel %endif BuildRequires: make @@ -32,7 +32,7 @@ developing applications that use %{name}. %setup -q # Override PAGESIZE, bz #1545539 -%ifarch %ix86 %arm x86_64 s390x +%ifarch %ix86 %arm x86_64 s390x riscv64 %define lg_page --with-lg-page=12 %endif @@ -105,6 +105,9 @@ find %{buildroot}%{_libdir}/ -name '*.a' -exec rm -vf {} ';' %ldconfig_scriptlets %changelog +* Mon Nov 21 2022 David Abdurachmanov - 5.3.0-2.0.riscv64 +- Enable riscv64 + * Thu Jul 21 2022 Fedora Release Engineering - 5.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild