Accepting request 957544 from home:Guillaume_G:branches:devel:libraries:c_c++

- Set lg-page to 2^16 on aarch64 to be compatible with 64k
  page size kernel - https://github.com/jemalloc/jemalloc/pull/769

OBS-URL: https://build.opensuse.org/request/show/957544
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jemalloc?expand=0&rev=84
This commit is contained in:
Jan Engelhardt 2022-02-25 10:53:51 +00:00 committed by Git OBS Bridge
parent 493b52dcfd
commit 5eaccf3ffc
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 25 09:30:08 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Set lg-page to 2^16 on aarch64 to be compatible with 64k
page size kernel - https://github.com/jemalloc/jemalloc/pull/769
-------------------------------------------------------------------
Mon Nov 23 10:23:39 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -56,7 +56,11 @@ implementation.
%build
export EXTRA_CFLAGS="%optflags -std=gnu99"
# AArch64: Set lg-page to 2^16 to be compatible with 64k kernels - https://github.com/jemalloc/jemalloc/pull/769
%configure --disable-static --enable-prof \
%ifarch aarch64
--with-lg-page=16 \
%endif
%ifarch %arm
--disable-thp
%endif