ClickHouse/contrib/libtcmalloc
Vladimir Smirnov d36f52502e Make it compilable on OS X
It's still hackish and dirty, but server and client compies.

Server starts, but throwes meaningless exception on any query.

Client seems to be working fine.

Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
..
include/gperftools Make it compilable on OS X 2016-11-01 17:59:21 +01:00
src Make it compilable on OS X 2016-11-01 17:59:21 +01:00
AUTHORS Added in-tree tcmalloc library to simplify build [#METR-20000]. 2016-05-22 03:32:13 +03:00
CMakeLists.txt Make it compilable on OS X 2016-11-01 17:59:21 +01:00
COPYING Added in-tree tcmalloc library to simplify build [#METR-20000]. 2016-05-22 03:32:13 +03:00
README Updated tcmalloc [#METR-20000]. 2016-10-20 06:51:19 +03:00

https://github.com/gperftools/gperftools/commit/dde32f8bbc95312379f9f5a651799815bb6327c5

Several modifications:
1. Disabled TCMALLOC_AGGRESSIVE_DECOMMIT by default. It is important.
2. Using only files for tcmalloc_minimal build (./configure --enable-minimal).
3. Using some compiler flags from project.
4. Removed warning about unused variable when build with NDEBUG (by default).
5. Including config.h with relative path.