Support different pagesizes, ie. build with --with-lg-page=16, closes #1545539
This commit is contained in:
parent
e70276c0de
commit
f49226e5a8
@ -1,7 +1,7 @@
|
||||
Name: jemalloc
|
||||
Version: 5.0.1
|
||||
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: General-purpose scalable concurrent malloc implementation
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -42,6 +42,9 @@ developing applications that use %{name}.
|
||||
|
||||
%patch4
|
||||
|
||||
# Override PAGESIZE, bz #1545539
|
||||
%define lg_page --with-lg-page=16
|
||||
|
||||
# Disable thp on systems not supporting this, trusting that Fedora will enable
|
||||
# this on the build servers when ready for installed systems.
|
||||
%ifarch %ix86 %arm aarch64 s390x
|
||||
@ -74,7 +77,7 @@ cat /sys/kernel/mm/transparent_hugepage/enabled || true
|
||||
echo "What kernel version and config is this?"
|
||||
uname -a
|
||||
|
||||
%configure %{?disable_thp}
|
||||
%configure %{?disable_thp} %{?lg_page}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
@ -112,6 +115,9 @@ find %{buildroot}%{_libdir}/ -name '*.a' -exec rm -vf {} ';'
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%changelog
|
||||
* Tue Mar 06 2018 Ingvar Hagelund <ingvar@redpill-linpro.com> - 5.0.1-4
|
||||
- Support different pagesizes, ie. build with --with-lg-page=16, closes #1545539
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user