nixpkgs/pkgs/development/libraries/jemalloc
Dmitry Ivankov e3a7c410a7 jemalloc: fix aarch64-darwin build
Switch to default clang11 and apply a patch to fix tests.

The issue is compiler optimizations for unused `malloc` calls
being applied to jemalloc tests with empty `--with-jemalloc-prefix=`.
Tests want to test bad arguments to malloc and optimization broke
such assertions in some of tests, so patch is applied to disable
builtin functions optimizations (only for tests code).

Fixes https://github.com/NixOS/nixpkgs/issues/152056

Patch submission upstream
https://github.com/jemalloc/jemalloc/pull/2340
2022-11-14 10:52:37 +01:00
..
default.nix jemalloc: fix aarch64-darwin build 2022-11-14 10:52:37 +01:00