aboutsummaryrefslogtreecommitdiffstats
path: root/build/conf/sysincl.conf
blob: 421942e0573d624bb988e1b00452e65d0e566638 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
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-libstdcxx.yml
SYSINCL+=build/sysincl/stl-to-nothing.yml
SYSINCL+=build/sysincl/windows.yml
SYSINCL+=build/sysincl/darwin.yml
SYSINCL+=build/sysincl/android.yml
SYSINCL+=build/sysincl/intrinsic.yml
SYSINCL+=build/sysincl/nvidia.yml
SYSINCL+=build/sysincl/misc.yml
SYSINCL+=build/sysincl/unsorted.yml

# FIXME: Make SWIG_IMPLICIT_INCLUDES more granular and get rid of swig.yml
SYSINCL+=build/sysincl/swig.yml

when ($USE_AIO == "local" || $USE_AIO == "" && $_USE_AIO == "local") {
    SYSINCL+=build/sysincl/libaio-to-nothing.yml
}

when ($USE_ICONV == "local" || $USE_ICONV == "" && $_USE_ICONV == "local") {
    SYSINCL+=build/sysincl/libiconv-to-nothing.yml
}
otherwise {
    SYSINCL+=build/sysincl/libiconv.yml
}

when ($USE_IDN == "local" || $USE_IDN == "" && $_USE_IDN == "local") {
    SYSINCL+=build/sysincl/libidn-to-nothing.yml
}
otherwise {
    SYSINCL+=build/sysincl/libidn.yml
}

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

when ($OPENSOURCE == "yes") {
    SYSINCL+=build/sysincl/opensource.yml
}
otherwise {
    SYSINCL+=build/sysincl/proto.yml
}

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

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

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

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

when ($OS_LINUX != "yes") {
    SYSINCL+=build/sysincl/ibdrv-to-nothing.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
}

when ($USE_ARCADIA_COMPILER_RUNTIME == "no") {
    SYSINCL+=build/sysincl/local-compiler-runtime.yml
}

when ($OS_EMSCRIPTEN) {
    SYSINCL+=build/sysincl/emscripten.yml
}

when ($CUDA_VERSION == "10.2") {
    SYSINCL+=build/sysincl/nvidia-cub-1.8.0.yml
    SYSINCL+=build/sysincl/nvidia-thrust-to-nothing.yml
}
otherwise {
    SYSINCL+=build/sysincl/nvidia-cub.yml
    SYSINCL+=build/sysincl/nvidia-thrust.yml
}