-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
100 lines (100 loc) · 3.29 KB
/
Copy pathCMakePresets.json
File metadata and controls
100 lines (100 loc) · 3.29 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
{
"version": 3,
"cmakeMinimumRequired": { "major": 3, "minor": 22, "patch": 0 },
"configurePresets": [
{
"name": "default",
"displayName": "Debug + tests",
"description": "Debug build with the unit-test suite enabled (the CI baseline).",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"COMPOSITE_BUILD_TESTS": "ON",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "release",
"displayName": "Release + tests",
"inherits": "default",
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }
},
{
"name": "openssl",
"displayName": "Debug + tests + OpenSSL REST",
"inherits": "default",
"cacheVariables": { "COMPOSITE_USE_OPENSSL": "ON" }
},
{
"name": "otel",
"displayName": "Debug + tests + OpenTelemetry",
"inherits": "default",
"cacheVariables": { "COMPOSITE_USE_OPENTELEMETRY": "ON" }
},
{
"name": "install",
"displayName": "Release install tree",
"inherits": "release",
"cacheVariables": {
"COMPOSITE_BUILD_TESTS": "OFF",
"COMPOSITE_INSTALL": "ON",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/install/prefix"
}
},
{
"name": "tsan",
"displayName": "ThreadSanitizer + tests",
"description": "Debug build with ThreadSanitizer; the gate for the concurrency-dense core (park, SPSC ring, registry, pipeline_component).",
"inherits": "default",
"cacheVariables": { "COMPOSITE_SANITIZER": "thread" }
},
{
"name": "asan-ubsan",
"displayName": "Address+UB Sanitizer + tests",
"description": "Debug build with ASan+UBSan; the gate for buffers/memory + the untrusted-parse path.",
"inherits": "default",
"cacheVariables": { "COMPOSITE_SANITIZER": "address,undefined" }
},
{
"name": "ci",
"displayName": "Debug + tests + warnings-as-errors",
"description": "Like default but promotes warnings to errors; used by the CI build gate.",
"inherits": "default",
"cacheVariables": { "COMPOSITE_WERROR": "ON" }
}
],
"buildPresets": [
{ "name": "default", "configurePreset": "default" },
{ "name": "release", "configurePreset": "release" },
{ "name": "openssl", "configurePreset": "openssl" },
{ "name": "otel", "configurePreset": "otel" },
{ "name": "install", "configurePreset": "install", "targets": ["install"] },
{ "name": "tsan", "configurePreset": "tsan" },
{ "name": "asan-ubsan", "configurePreset": "asan-ubsan" },
{ "name": "ci", "configurePreset": "ci" }
],
"testPresets": [
{
"name": "default",
"configurePreset": "default",
"output": { "outputOnFailure": true }
},
{
"name": "tsan",
"configurePreset": "tsan",
"output": { "outputOnFailure": true },
"environment": { "TSAN_OPTIONS": "halt_on_error=1 second_deadlock_stack=1" }
},
{
"name": "asan-ubsan",
"configurePreset": "asan-ubsan",
"output": { "outputOnFailure": true },
"environment": { "UBSAN_OPTIONS": "halt_on_error=1 print_stacktrace=1", "ASAN_OPTIONS": "halt_on_error=1" }
},
{
"name": "ci",
"configurePreset": "ci",
"output": { "outputOnFailure": true }
}
]
}