ClickHouse/contrib/jemalloc-cmake
Azat Khuzhin a10aa9ad50 Force libunwind usage (removes gcc_eh support)
libunwind is reentrant and signal safe, and works faster then then
gcc_eh (plus it has some custom patches for problems that have been
found during it's usage in ClickHouse).

gcc_eh may be missing in the system (if gcc was not installed), and
even if it exists clickhouse uses -nodefaultlibs, so some care should be
made to make it work.

Also this library is tiny and there shouln't be any problem to require
it always (there is already tendency to require some contrib libraries,
i.e. poco).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-08 20:55:50 +02:00
..
include/jemalloc Bump jemalloc to fix possible assertion 2022-07-12 07:57:27 +03:00
include_darwin_aarch64/jemalloc/internal Bump jemalloc to fix possible assertion 2022-07-12 07:57:27 +03:00
include_darwin_x86_64/jemalloc/internal Bump jemalloc to fix possible assertion 2022-07-12 07:57:27 +03:00
include_freebsd_aarch64/jemalloc/internal Bump jemalloc to fix possible assertion 2022-07-12 07:57:27 +03:00
include_freebsd_ppc64le/jemalloc/internal Add FreeBSD/powerpc64le support 2022-08-19 21:41:03 +02:00
include_freebsd_x86_64/jemalloc/internal Bump jemalloc to fix possible assertion 2022-07-12 07:57:27 +03:00
include_linux_aarch64/jemalloc/internal Bump jemalloc to fix possible assertion 2022-07-12 07:57:27 +03:00
include_linux_ppc64le/jemalloc/internal Bump jemalloc to fix possible assertion 2022-07-12 07:57:27 +03:00
include_linux_riscv64/jemalloc/internal Bump jemalloc to fix possible assertion 2022-07-12 07:57:27 +03:00
include_linux_x86_64/jemalloc/internal Bump jemalloc to fix possible assertion 2022-07-12 07:57:27 +03:00
include_linux_x86_64_musl/jemalloc/internal Fix strerror_r() configuration for jemalloc with musl under clang-15 2022-09-10 21:38:35 +02:00
CMakeLists.txt Force libunwind usage (removes gcc_eh support) 2023-07-08 20:55:50 +02:00
README jemalloc: add a note about JEMALLOC_PREFIX 2022-02-17 21:25:58 +03:00

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