aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/mimalloc/ya.make
blob: cad456e3eaa47160191f5cc4a8d8cccc347507d0 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Generated by devtools/yamaker from nixpkgs 22.11.

LIBRARY()

LICENSE(MIT)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(1.8.7)

ORIGINAL_SOURCE(https://github.com/microsoft/mimalloc/archive/refs/tags/v1.8.7.tar.gz)

PEERDIR(
    library/cpp/sanitizer/include
)

ADDINCL(
    GLOBAL contrib/libs/mimalloc/include
)

NO_COMPILER_WARNINGS()

NO_RUNTIME()

CFLAGS(
    -DMI_MALLOC_OVERRIDE
    -DMI_SHARED_LIB
    -DMI_SHARED_LIB_EXPORT
    -DMI_STATIC_LIB
)

SRCS(
    src/alloc-aligned.c
    src/alloc-posix.c
    src/alloc.c
    src/arena.c
    src/bitmap.c
    src/heap.c
    src/init.c
    src/libc.c
    src/options.c
    src/os.c
    src/page.c
    src/prim/prim.c
    src/random.c
    src/segment-map.c
    src/segment.c
    src/stats.c
)

END()