aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/tcmalloc/ya.make
blob: 589a2a097c466f267e5913f7ded5abcbddf93c2f (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
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()