diff options
author | ni-stoiko <ni-stoiko@yandex-team.com> | 2023-09-25 15:01:19 +0300 |
---|---|---|
committer | ni-stoiko <ni-stoiko@yandex-team.com> | 2023-09-25 16:52:34 +0300 |
commit | 0abd9ccd5284f92095881b3350084c192fa93ddc (patch) | |
tree | 5fd89fa8b4f4cbd35d7c63a4261e80a77bd60a73 /build | |
parent | aabffb0dd8246769b2b1e18135a3f071054c5ffb (diff) | |
download | ydb-0abd9ccd5284f92095881b3350084c192fa93ddc.tar.gz |
YT-19557: Add custom allocators YT_TCMALLOC*
Добавлен fork tcmalloc для дальшейшего использования в YT.
Скопированы все исходные файлы, патчи.
Исправлен патч user_data.patch.
YT_TCMALLOC и YT_TCMALLOC_256K добавлены в build/ymake.core.conf
Diffstat (limited to 'build')
-rw-r--r-- | build/ymake.core.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf index 41c5aaaa23..96deb81a79 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -856,6 +856,14 @@ when ($COMMON_LINK_SETTINGS == "yes") { "YT" ? { PEERDIR+=library/cpp/ytalloc/impl } + "YT_TCMALLOC" ? { + PEERDIR+=library/cpp/malloc/tcmalloc + PEERDIR+=contrib/libs/yt_tcmalloc/default + } + "YT_TCMALLOC_256K" ? { + PEERDIR+=library/cpp/malloc/tcmalloc + PEERDIR+=contrib/libs/yt_tcmalloc + } } } |