Merge #187824: jemalloc: support page size up to 64KB on AArch64

...into staging
This commit is contained in:
Vladimír Čunát 2022-08-25 10:09:46 +02:00
commit 0ac508acde
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -30,6 +30,9 @@ stdenv.mkDerivation rec {
"--disable-thp"
"je_cv_thp=no"
]
# AArch64 has configurable page size up to 64k. The default configuration
# for jemalloc only supports 4k page sizes.
++ lib.optional stdenv.isAarch64 "--with-lg-page=16"
;
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-error=array-bounds";