ClickHouse/contrib/jemalloc-cmake
..
include/jemalloc
include_darwin_aarch64/jemalloc/internal
include_darwin_x86_64/jemalloc/internal
include_freebsd_aarch64/jemalloc/internal
include_freebsd_ppc64le/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_s390x/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 do not