aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/tcmalloc/malloc_extension
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
committeralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /contrib/libs/tcmalloc/malloc_extension
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'contrib/libs/tcmalloc/malloc_extension')
-rw-r--r--contrib/libs/tcmalloc/malloc_extension/ya.make32
1 files changed, 32 insertions, 0 deletions
diff --git a/contrib/libs/tcmalloc/malloc_extension/ya.make b/contrib/libs/tcmalloc/malloc_extension/ya.make
new file mode 100644
index 0000000000..a2044f60c2
--- /dev/null
+++ b/contrib/libs/tcmalloc/malloc_extension/ya.make
@@ -0,0 +1,32 @@
+LIBRARY()
+
+WITHOUT_LICENSE_TEXTS()
+
+LICENSE(Apache-2.0)
+
+NO_UTIL()
+
+NO_COMPILER_WARNINGS()
+
+# https://github.com/google/tcmalloc
+VERSION(2020-11-23-a643d89610317be1eff9f7298104eef4c987d8d5)
+
+SRCDIR(contrib/libs/tcmalloc)
+
+SRCS(
+ tcmalloc/malloc_extension.cc
+)
+
+PEERDIR(
+ contrib/restricted/abseil-cpp
+)
+
+ADDINCL(
+ GLOBAL contrib/libs/tcmalloc
+)
+
+CFLAGS(
+ -DTCMALLOC_256K_PAGES
+)
+
+END()