aboutsummaryrefslogtreecommitdiffstats
path: root/build/conf/sysincl.conf
blob: e2eab0453335f0c332020af39c0d6cb871259069 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
SYSINCL=
SYSINCL+=build/sysincl/macro.yml
SYSINCL+=build/sysincl/libc-to-compat.yml
SYSINCL+=build/sysincl/libc-to-nothing.yml
SYSINCL+=build/sysincl/stl-to-nothing.yml
SYSINCL+=build/sysincl/linux.yml
SYSINCL+=build/sysincl/windows.yml
SYSINCL+=build/sysincl/darwin.yml
SYSINCL+=build/sysincl/intrinsic.yml
SYSINCL+=build/sysincl/nvidia.yml
SYSINCL+=build/sysincl/misc.yml
SYSINCL+=build/sysincl/unsorted.yml

when ($USE_LOCAL_SWIG == "yes") {
    SYSINCL+=build/sysincl/swig-to-nothing.yml
}
otherwise {
    SYSINCL+=build/sysincl/swig.yml
}

when ($USE_SYSTEM_JDK) {
    SYSINCL+=build/sysincl/system-jdk.yml
}

when ($OPENSOURCE == "yes") {
    SYSINCL += build/sysincl/opensource.yml
}
otherwise {
    SYSINCL+=build/yandex_specific/sysincl/speechkit.yml
    SYSINCL+=build/yandex_specific/sysincl/misc.yml
    SYSINCL+=build/yandex_specific/sysincl/taxi.yml
    SYSINCL+=build/yandex_specific/sysincl/weird.yml
}

when ($MUSL == "yes") {
    SYSINCL+=build/sysincl/libc-to-musl.yml
    SYSINCL+=build/sysincl/linux-musl.yml
}

when ($OS_WINDOWS == "yes") {
    SYSINCL+=build/sysincl/misc-win.yml
    when ($OPENSOURCE !="yes") {
        SYSINCL+=build/yandex_specific/sysincl/misc-win.yml
    }
}

when ($OS_ANDROID == "yes") {
    SYSINCL+=build/sysincl/android.yml
}

when ($OS_LINUX != "yes") {
    SYSINCL+=build/sysincl/linux-headers.yml
}

when ($OS_LINUX != "yes" || $CATBOOST_OPENSOURCE == "yes") {
    SYSINCL+=build/sysincl/ibdrv.yml
}

when ($WITH_VALGRIND == "yes") {
    SYSINCL+=build/sysincl/valgrind.yml
}

when ($OS_LINUX == "yes" && $OS_SDK == "ubuntu-12") {
    SYSINCL+=build/sysincl/linux-ubuntu-12.yml
}

when ($ARCH_NDS32) {
    SYSINCL+=build/sysincl/nds32.yml
}

when ($ARCH_RISCV32) {
    SYSINCL+=build/sysincl/newlib.yml
    SYSINCL+=build/sysincl/esp-idf.yml
}