jemalloc: add patch to fix aarch64 build
This commit is contained in:
parent
3a5c489603
commit
b94c892137
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, fetchpatch }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "jemalloc-${version}";
|
name = "jemalloc-${version}";
|
||||||
@ -19,6 +19,13 @@ stdenv.mkDerivation rec {
|
|||||||
++ stdenv.lib.optional stdenv.isArm "--disable-thp";
|
++ stdenv.lib.optional stdenv.isArm "--disable-thp";
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
patches = stdenv.lib.optional stdenv.isAarch64 (fetchpatch {
|
||||||
|
url = "https://patch-diff.githubusercontent.com/raw/jemalloc/jemalloc/pull/1035.patch";
|
||||||
|
sha256 = "02y0q3dp253bipxv4r954nqipbjbj92p6ww9bx5bk3d8pa81wkqq";
|
||||||
|
});
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://jemalloc.net;
|
homepage = http://jemalloc.net;
|
||||||
description = "General purpose malloc(3) implementation";
|
description = "General purpose malloc(3) implementation";
|
||||||
|
Loading…
Reference in New Issue
Block a user