aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/tcmalloc/ya.make
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
commitbf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch)
tree1d1df72c0541a59a81439842f46d95396d3e7189 /contrib/libs/tcmalloc/ya.make
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'contrib/libs/tcmalloc/ya.make')
-rw-r--r--contrib/libs/tcmalloc/ya.make34
1 files changed, 34 insertions, 0 deletions
diff --git a/contrib/libs/tcmalloc/ya.make b/contrib/libs/tcmalloc/ya.make
new file mode 100644
index 0000000000..589a2a097c
--- /dev/null
+++ b/contrib/libs/tcmalloc/ya.make
@@ -0,0 +1,34 @@
+LIBRARY()
+
+LICENSE(Apache-2.0)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+ALLOCATOR_IMPL()
+
+# https://github.com/google/tcmalloc
+VERSION(2021-10-04-45c59ccbc062ac96d83710205033c656e490d376)
+
+SRCS(
+ # Options
+ tcmalloc/want_hpaa.cc
+)
+
+INCLUDE(common.inc)
+
+CFLAGS(
+ -DTCMALLOC_256K_PAGES
+)
+
+END()
+
+IF (NOT DLL_FOR)
+ RECURSE(
+ default
+ dynamic
+ malloc_extension
+ no_percpu_cache
+ numa_256k
+ numa_large_pages
+ small_but_slow
+ )
+ENDIF()