-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakePresets.json
More file actions
136 lines (136 loc) · 5.76 KB
/
Copy pathCMakePresets.json
File metadata and controls
136 lines (136 loc) · 5.76 KB
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"version": 6,
"cmakeMinimumRequired": { "major": 3, "minor": 23, "patch": 0 },
"configurePresets": [
{
"name": "base",
"hidden": true,
"generator": "Ninja",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_SUPPRESS_DEVELOPER_WARNINGS": "ON",
"THEMIS_ENABLE_COMPILER_CACHE": "ON",
"THEMIS_COMPILER_CACHE_PROGRAM": "sccache",
"THEMIS_BUILD_TESTS": "ON",
"THEMIS_BUILD_BENCHMARKS": "OFF"
}
},
{
"name": "vcpkg-base",
"hidden": true,
"inherits": "base",
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake",
"VCPKG_INSTALLED_DIR": "${sourceDir}/vcpkg_installed"
}
},
{
"name": "windows-base",
"hidden": true,
"inherits": "vcpkg-base",
"environment": {
"CMAKE_BUILD_PARALLEL_LEVEL": "16",
"SCCACHE_DIR": "${env.HOME}/.cache/sccache/themisdb"
},
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows",
"THEMIS_ENABLE_GPU": "ON",
"THEMIS_ENABLE_HTTP_SERVER": "ON"
}
},
{
"name": "linux-base",
"hidden": true,
"inherits": "vcpkg-base",
"cacheVariables": {
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++",
"VCPKG_TARGET_TRIPLET": "x64-linux",
"THEMIS_ENABLE_GPU": "ON",
"THEMIS_ENABLE_HTTP_SERVER": "ON"
}
},
{
"name": "windows-release",
"displayName": "Windows x64: Release",
"inherits": "windows-base",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Windows" },
"binaryDir": "${sourceDir}/build-msvc-windows-release",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release", "THEMIS_EDITION": "COMMUNITY" }
},
{
"name": "windows-debug",
"displayName": "Windows x64: Debug",
"inherits": "windows-base",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Windows" },
"binaryDir": "${sourceDir}/build-msvc-windows-debug",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "THEMIS_EDITION": "COMMUNITY" }
},
{
"name": "linux-release",
"displayName": "Linux x64: Release",
"inherits": "linux-base",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Linux" },
"binaryDir": "${sourceDir}/build-gcc-linux-release",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release", "THEMIS_EDITION": "COMMUNITY" }
},
{
"name": "linux-debug",
"displayName": "Linux x64: Debug",
"inherits": "linux-base",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Linux" },
"binaryDir": "${sourceDir}/build-gcc-linux-debug",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "THEMIS_EDITION": "COMMUNITY" }
},
{
"name": "community-release",
"displayName": "Configure: Community Release",
"inherits": "base",
"binaryDir": "${sourceDir}/build-community-release",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release", "THEMIS_EDITION": "COMMUNITY" }
},
{
"name": "nightly-bench-sweep",
"displayName": "Nightly Benchmark Sweep",
"inherits": "linux-base",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Linux" },
"binaryDir": "${sourceDir}/build-gcc-linux-nightly",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release", "THEMIS_BUILD_BENCHMARKS": "ON", "THEMIS_ENABLE_GPU": "OFF", "THEMIS_ENABLE_LLM": "OFF" }
}
,
{
"name": "hyperscaler-debug-windows",
"displayName": "Hyperscaler Debug (Windows)",
"inherits": "windows-base",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Windows" },
"binaryDir": "${sourceDir}/build-hyperscaler-windows-debug",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "THEMIS_EDITION": "HYPERSCALER", "THEMIS_BUILD_BENCHMARKS": "ON", "THEMIS_BUILD_TESTS": "ON" }
},
{
"name": "hyperscaler-debug-linux",
"displayName": "Hyperscaler Debug (Linux)",
"inherits": "linux-base",
"condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Linux" },
"binaryDir": "${sourceDir}/build-hyperscaler-linux-debug",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "THEMIS_EDITION": "HYPERSCALER", "THEMIS_BUILD_BENCHMARKS": "ON", "THEMIS_BUILD_TESTS": "ON" }
}
],
"buildPresets": [
{ "name": "windows-release", "configurePreset": "windows-release", "jobs": 16 },
{ "name": "windows-debug", "configurePreset": "windows-debug", "jobs": 4 },
{ "name": "hyperscaler-debug-windows", "configurePreset": "hyperscaler-debug-windows", "jobs": 16 },
{ "name": "linux-release", "configurePreset": "linux-release" },
{ "name": "linux-debug", "configurePreset": "linux-debug" },
{ "name": "nightly-bench-sweep", "configurePreset": "nightly-bench-sweep" }
],
"testPresets": [
{ "name": "windows-release", "configurePreset": "windows-release" },
{ "name": "hyperscaler-debug-windows", "configurePreset": "hyperscaler-debug-windows" },
{ "name": "linux-release", "configurePreset": "linux-release" }
],
"workflowPresets": [
{ "name": "windows-release", "steps": [ { "type": "configure", "name": "windows-release" }, { "type": "build", "name": "windows-release" }, { "type": "test", "name": "windows-release" } ] },
{ "name": "hyperscaler-debug-windows", "steps": [ { "type": "configure", "name": "hyperscaler-debug-windows" }, { "type": "build", "name": "hyperscaler-debug-windows" }, { "type": "test", "name": "hyperscaler-debug-windows" } ] },
{ "name": "linux-release", "steps": [ { "type": "configure", "name": "linux-release" }, { "type": "build", "name": "linux-release" }, { "type": "test", "name": "linux-release" } ] }
]
}