aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/tcmalloc/malloc_extension/ya.make
blob: c9a07c24548512676b9758b97cc90d983215c4bf (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
33
34
35
36
37
LIBRARY()

WITHOUT_LICENSE_TEXTS()

LICENSE(Apache-2.0)

OWNER(
    prime
    g:cpp-contrib
)

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()