ClickHouse/contrib/jemalloc-cmake
Azat Khuzhin 01583ba10e jemalloc: fix includes order to avoid overlaps
If you had jemalloc build in contrib/jemalloc, and not current version
but some outdated, then compiler will pick incorrect file and may fail.

Also SYSTEM should be removed since regular -I is in the different list,
and will be checked before -isystem.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-02-21 08:32:45 +03:00
..
include/jemalloc jemalloc: update version (to 5.3-rc) and commit SHA1 2022-02-17 21:30:55 +03:00
include_darwin_aarch64/jemalloc/internal jemalloc: update provisioned headers for darwin aarch64 2022-02-17 21:25:58 +03:00
include_darwin_x86_64/jemalloc/internal jemalloc: update provisioned headers for darwin x86_64 2022-02-17 21:25:58 +03:00
include_freebsd_aarch64/jemalloc/internal jemalloc: update provisioned headers for freebsd aarch64 2022-02-17 21:25:58 +03:00
include_freebsd_x86_64/jemalloc/internal jemalloc: update provisioned headers for freebsd x86_64 2022-02-17 21:25:58 +03:00
include_linux_aarch64/jemalloc/internal jemalloc: update provisioned headers for linux aarch64 2022-02-17 21:25:58 +03:00
include_linux_ppc64le/jemalloc/internal jemalloc: update provisioned headers for linux ppc64le 2022-02-17 21:25:58 +03:00
include_linux_riscv64/jemalloc/internal jemalloc: update provisioned headers for linux riscv64 2022-02-17 21:25:58 +03:00
include_linux_x86_64/jemalloc/internal jemalloc: remove README for linux x86_64 2022-02-17 21:25:58 +03:00
CMakeLists.txt jemalloc: fix includes order to avoid overlaps 2022-02-21 08:32:45 +03: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