aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/tcmalloc/ya.make
diff options
context:
space:
mode:
authormonster <monster@ydb.tech>2022-07-07 14:41:37 +0300
committermonster <monster@ydb.tech>2022-07-07 14:41:37 +0300
commit06e5c21a835c0e923506c4ff27929f34e00761c2 (patch)
tree75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /contrib/libs/tcmalloc/ya.make
parent03f024c4412e3aa613bb543cf1660176320ba8f4 (diff)
downloadydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz
fix ya.make
Diffstat (limited to 'contrib/libs/tcmalloc/ya.make')
-rw-r--r--contrib/libs/tcmalloc/ya.make39
1 files changed, 39 insertions, 0 deletions
diff --git a/contrib/libs/tcmalloc/ya.make b/contrib/libs/tcmalloc/ya.make
new file mode 100644
index 0000000000..b2e00ef0b7
--- /dev/null
+++ b/contrib/libs/tcmalloc/ya.make
@@ -0,0 +1,39 @@
+LIBRARY()
+
+LICENSE(Apache-2.0)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+OWNER(
+ ayles
+ prime
+ g:cpp-contrib
+)
+
+# 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()