aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/tcmalloc/malloc_extension/ya.make
blob: a2044f60c2ab4302e870ec7a11be2e5c25243b81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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()