Compare commits
3 Commits
master
...
master-ris
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | 089d9798d2 | |
David Abdurachmanov | a903328a1b | |
David Abdurachmanov | 1d7d0c6d5c |
|
@ -29,4 +29,3 @@
|
|||
/jemalloc-5.0.1.tar.bz2
|
||||
/jemalloc-5.1.0.tar.bz2
|
||||
/jemalloc-5.2.0.tar.bz2
|
||||
/jemalloc-5.2.1.tar.bz2
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Name: jemalloc
|
||||
Version: 5.2.1
|
||||
Version: 5.2.0
|
||||
|
||||
Release: 4%{?dist}
|
||||
Release: 1.0.riscv64%{?dist}
|
||||
Summary: General-purpose scalable concurrent malloc implementation
|
||||
|
||||
License: BSD
|
||||
|
@ -11,9 +11,12 @@ 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
|
||||
%ifarch riscv64
|
||||
BuildRequires: libatomic
|
||||
%endif
|
||||
|
||||
%description
|
||||
General-purpose scalable concurrent malloc(3) implementation.
|
||||
|
@ -31,7 +34,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 +43,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
|
||||
|
||||
|
@ -56,6 +59,10 @@ CFLAGS="%{optflags} -msse2"
|
|||
export LDFLAGS="%{?__global_ldflags} -lrt"
|
||||
%endif
|
||||
|
||||
%ifarch riscv64
|
||||
export LDFLAGS="$LDFLAGS -latomic"
|
||||
%endif
|
||||
|
||||
echo "For debugging package builders"
|
||||
echo "What is the pagesize?"
|
||||
getconf PAGESIZE
|
||||
|
@ -104,17 +111,11 @@ find %{buildroot}%{_libdir}/ -name '*.a' -exec rm -vf {} ';'
|
|||
%ldconfig_scriptlets
|
||||
|
||||
%changelog
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Tue Aug 06 2019 Ingvar Hagelund <ingvar@redpill-linpro.com> - 5.2.1-1
|
||||
- New upstream release
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
* Thu Jun 20 2019 David Abdurachmanov <david.abdurachmanov@sifive.com> - 5.2.0-1.0.riscv64
|
||||
- Switch to %{valgrind_arches}
|
||||
- Link to libatomic
|
||||
- Set lg_page to 12 (4K page)
|
||||
- Disable THP
|
||||
|
||||
* Wed Apr 03 2019 Ingvar Hagelund <ingvar@redpill-linpro.com> - 5.2.0-1
|
||||
- New upstream release
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (jemalloc-5.2.1.tar.bz2) = 0bbb77564d767cef0c6fe1b97b705d368ddb360d55596945aea8c3ba5889fbce10479d85ad492c91d987caacdbbdccc706aa3688e321460069f00c05814fae02
|
||||
SHA512 (jemalloc-5.2.0.tar.bz2) = e3be4d534770126caf10f2684aed9fe4ba1422dd47625fe50343cfb750f26eff869fcc7d1e30a96dd6c73f6614c4bbcd560fd24fc26b55ac731c43e60fd05234
|
||||
|
|
Loading…
Reference in New Issue