mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-16 12:44:42 +00:00
236cac3d52
In case of OSX jemalloc register itself as a default zone allocator. But when you link statically then zone_register() will not be called, and even will be optimized out: $ nm clickhouse.patched | grep -c zone_register 0 Fix this, by manually calling it. v2: extern C |
||
---|---|---|
.. | ||
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 | ||
include_linux_x86_64 | ||
CMakeLists.txt | ||
README |
It allows to integrate JEMalloc into CMake project.