ClickHouse/contrib/jemalloc-cmake
Azat Khuzhin 1f049e8bac Bump jemalloc to fix possible assertion
This patch also updates the jemalloc version.

Note, that I've enabled page_id for jemalloc
PR_SET_VMA/PR_SET_VMA_ANON_NAME, that requires linux 5.17+ (but ignores
EINVAL anyway).

v2: add -isystem to fix reserved name for JEMALLOC_OVERRIDE___LIBC_PVALLOC
Refs: https://github.com/jemalloc/jemalloc/pull/2304
Refs: https://github.com/ClickHouse/ClickHouse/issues/31531
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-12 07:57:27 +03:00
..
include/jemalloc
include_darwin_aarch64/jemalloc/internal
include_darwin_x86_64/jemalloc/internal
include_freebsd_aarch64/jemalloc/internal
include_freebsd_x86_64/jemalloc/internal
include_linux_aarch64/jemalloc/internal
include_linux_ppc64le/jemalloc/internal
include_linux_riscv64/jemalloc/internal
include_linux_x86_64/jemalloc/internal
include_linux_x86_64_musl/jemalloc/internal
CMakeLists.txt
README

It allows to integrate JEMalloc into CMake project.

- Remove JEMALLOC_HAVE_ATTR_FORMAT_GNU_PRINTF because it's non standard.
- Added JEMALLOC_CONFIG_MALLOC_CONF substitution
- Add musl support (USE_MUSL)
- Also note, that darwin build requires JEMALLOC_PREFIX, while others don not