From f49226e5a8412f0b0318c8982b81d0804d7a6948 Mon Sep 17 00:00:00 2001 From: Ingvar Hagelund Date: Tue, 6 Mar 2018 21:54:12 +0100 Subject: [PATCH] Support different pagesizes, ie. build with --with-lg-page=16, closes #1545539 --- jemalloc.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/jemalloc.spec b/jemalloc.spec index 83c657a..619d7f4 100644 --- a/jemalloc.spec +++ b/jemalloc.spec @@ -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 - 5.0.1-4 +- Support different pagesizes, ie. build with --with-lg-page=16, closes #1545539 + * Wed Feb 07 2018 Fedora Release Engineering - 5.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild