Enable riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
parent
d745295261
commit
2380f59178
|
@ -1,7 +1,7 @@
|
|||
Name: jemalloc
|
||||
Version: 5.2.1
|
||||
|
||||
Release: 4%{?dist}
|
||||
Release: 4.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
|
||||
|
||||
|
@ -31,7 +31,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
|
||||
|
||||
|
@ -40,7 +40,7 @@ developing applications that use %{name}.
|
|||
%endif
|
||||
|
||||
# Disable thp on systems not supporting this for now
|
||||
%ifarch %ix86 %arm aarch64 s390x
|
||||
%ifarch %ix86 %arm aarch64 s390x riscv64
|
||||
%define disable_thp --disable-thp
|
||||
%endif
|
||||
|
||||
|
@ -104,6 +104,9 @@ find %{buildroot}%{_libdir}/ -name '*.a' -exec rm -vf {} ';'
|
|||
%ldconfig_scriptlets
|
||||
|
||||
%changelog
|
||||
* Thu Nov 26 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> - 5.2.1-4.0.riscv64
|
||||
- Enable riscv64
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue