ClickHouse/contrib/jemalloc-cmake
Azat Khuzhin c160b251ba Drop support for unbundled jemalloc
unbundled jemalloc cannot be used, since it includes jemalloc_cpp.o that
contains new/delete overrides, so as clickhouse [1]:

    ld.lld: error: duplicate symbol: operator delete(void*, unsigned long)
    >>> defined at new_delete.cpp:147 (../src/Common/new_delete.cpp:147)
    >>>            new_delete.cpp.o:(operator delete(void*, unsigned long)) in archive src/libclickhouse_new_delete.a
    >>> defined at jemalloc_cpp.o:(.text+0x160) in archive /usr/lib/x86_64-linux-gnu/libjemalloc.a

  [1]: https://clickhouse-builds.s3.yandex.net/15828/35335f07dbf8cab89b4188a674b033c28409dc7b/clickhouse_build_check/build_log_793952627_1602401325.txt
2020-10-11 11:18:56 +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
include_linux_x86_64
CMakeLists.txt
README

It allows to integrate JEMalloc into CMake project.