mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
jemalloc: disable it for darwin
Right now it aborts (Abort trap: 6) on osx, the issue does not looks like [1], but should be investigated, so disable for now. What is interesting that it works under debugger, so I guess it is indeed the order of symbol replacements... [1]: https://github.com/jemalloc/jemalloc/issues/420
This commit is contained in:
parent
c230d76cb9
commit
f76511668f
@ -1,8 +1,8 @@
|
||||
option (ENABLE_JEMALLOC "Enable jemalloc allocator" ${ENABLE_LIBRARIES})
|
||||
|
||||
if (SANITIZE OR NOT (ARCH_AMD64 OR ARCH_ARM))
|
||||
if (SANITIZE OR NOT (ARCH_AMD64 OR ARCH_ARM) OR NOT (OS_LINUX OR OS_FREEBSD))
|
||||
set (ENABLE_JEMALLOC OFF)
|
||||
message (STATUS "jemalloc is disabled implicitly: it doesn't work with sanitizers and can only be used with x86_64 or aarch64.")
|
||||
message (STATUS "jemalloc is disabled implicitly: it doesn't work with sanitizers and can only be used with x86_64 or aarch64 on linux or freebsd.")
|
||||
endif ()
|
||||
|
||||
if (ENABLE_JEMALLOC)
|
||||
|
Loading…
Reference in New Issue
Block a user