aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorni-stoiko <ni-stoiko@yandex-team.com>2023-09-25 15:01:19 +0300
committerni-stoiko <ni-stoiko@yandex-team.com>2023-09-25 16:52:34 +0300
commit0abd9ccd5284f92095881b3350084c192fa93ddc (patch)
tree5fd89fa8b4f4cbd35d7c63a4261e80a77bd60a73 /build
parentaabffb0dd8246769b2b1e18135a3f071054c5ffb (diff)
downloadydb-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.conf8
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
+ }
}
}