Repository navigation
Expand file tree
/
Copy pathwarm-targets.json
More file actions
176 lines (176 loc) · 5.98 KB
/
Copy pathwarm-targets.json
File metadata and controls
176 lines (176 loc) · 5.98 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"_comment": "Presets warmed into the compile-cache seed, per project. A project declares its repo, the path its own CI checks it out at (ci_workspace: the warm-up builds at exactly that path), and how it is warmed: \"ci\" runs in publish.yml's warm jobs, \"local\" is warmed on a developer machine by scripts/warm-local.sh and only assembled by publish.yml. cpm_source_cache is the CPM source cache, relative to the checkout, as the project's CI keeps it. forbid_configure_pattern (optional) is a regex that fails the warm-up when the configure output matches it. Windows presets are out of scope (Linux-only image). Coverage presets are excluded: pace-cc binds coverage objects to the checkout root. Each group is warmed into its own store; a group's store is one file of the seed (<project>/<group>.cow). A preset's configure_args must match the flags the project's CI configures that preset with, because a flag that changes a compile definition changes every cache key, so a seed warmed without it never hits. The one deliberate difference is morph's gcc-release: its CI makes gcc-15 the default gcc with update-alternatives, which the image does not, so the same compiler is selected by flag.",
"projects": [
{
"name": "pace",
"repo": "LASTRADA-Software/pace",
"ci_workspace": "/home/runner/work/pace/pace",
"warm": "ci",
"cpm_source_cache": ".cache/CPM",
"forbid_configure_pattern": "\\[Version\\] string: 0\\.0\\.0-unknown",
"groups": [
{
"name": "gcc",
"presets": [
{
"name": "gcc-debug",
"configure_args": []
},
{
"name": "gcc-release",
"configure_args": [
"-DPACE_ENABLE_TLS=ON",
"-DPACE_BUILD_BENCHMARKS=ON",
"-DPACE_BUILD_TESTCLIENT=ON"
]
},
{
"name": "gate-gcc-release",
"configure_args": []
}
]
},
{
"name": "clang",
"presets": [
{
"name": "clang-debug",
"configure_args": [
"-DCMAKE_CXX_SCAN_FOR_MODULES=OFF",
"-DPACE_ENABLE_TLS=ON",
"-DPACE_BUILD_BENCHMARKS=ON",
"-DPACE_BUILD_TESTCLIENT=ON"
]
},
{
"name": "clang-release",
"configure_args": [
"-DPACE_ENABLE_TLS=ON",
"-DPACE_BUILD_BENCHMARKS=ON",
"-DPACE_BUILD_TESTCLIENT=ON"
]
}
]
},
{
"name": "clang-extra",
"presets": [
{
"name": "gate-clang-debug",
"configure_args": []
},
{
"name": "clang-tracy",
"configure_args": []
}
]
},
{
"name": "sanitizers",
"presets": [
{
"name": "clang-asan-ubsan",
"configure_args": []
},
{
"name": "clang-tsan",
"configure_args": [
"-DCMAKE_CXX_SCAN_FOR_MODULES=OFF",
"-DPACE_ENABLE_TLS=ON"
]
}
]
}
]
},
{
"name": "morph",
"repo": "LASTRADA-Software/morph",
"ci_workspace": "/home/runner/work/morph/morph",
"warm": "local",
"cpm_source_cache": ".cache/cpm",
"groups": [
{
"name": "clang",
"presets": [
{
"name": "clang-debug",
"configure_args": [
"-DCMAKE_C_COMPILER=clang-22",
"-DCMAKE_CXX_COMPILER=clang++-22"
]
},
{
"name": "clang-release",
"configure_args": [
"-DCMAKE_C_COMPILER=clang-22",
"-DCMAKE_CXX_COMPILER=clang++-22"
]
},
{
"name": "clang-shared-debug",
"configure_args": [
"-DCMAKE_C_COMPILER=clang-22",
"-DCMAKE_CXX_COMPILER=clang++-22"
]
}
]
},
{
"name": "gcc",
"presets": [
{
"name": "gcc-release",
"configure_args": [
"-DCMAKE_C_COMPILER=gcc-15",
"-DCMAKE_CXX_COMPILER=g++-15"
]
}
]
},
{
"name": "sanitizers",
"presets": [
{
"name": "clang-asan",
"configure_args": [
"-DMORPH_LINK_JOBS=1",
"-DMORPH_BUILD_NET=ON",
"-DMORPH_BUILD_TUI=ON",
"-DMORPH_BUILD_OFFLINE_SQLITE=ON",
"-DCMAKE_C_COMPILER=clang-22",
"-DCMAKE_CXX_COMPILER=clang++-22"
]
},
{
"name": "clang-ubsan",
"configure_args": [
"-DMORPH_LINK_JOBS=1",
"-DMORPH_BUILD_NET=ON",
"-DMORPH_BUILD_TUI=ON",
"-DMORPH_BUILD_OFFLINE_SQLITE=ON",
"-DCMAKE_C_COMPILER=clang-22",
"-DCMAKE_CXX_COMPILER=clang++-22"
]
},
{
"name": "clang-tsan",
"configure_args": [
"-DMORPH_LINK_JOBS=1",
"-DMORPH_BUILD_NET=ON",
"-DMORPH_BUILD_TUI=ON",
"-DMORPH_BUILD_OFFLINE_SQLITE=ON",
"-DCMAKE_C_COMPILER=clang-22",
"-DCMAKE_CXX_COMPILER=clang++-22"
]
}
]
}
]
}
],
"not_onboarded": {
"Lightweight": "Test define embeds an absolute build-tree path (LightweightTest). Tracked in LASTRADA-Software/Lightweight#693.",
"formula-cpp": "No pace-cc integration; USE_COMPILER_CACHE is ignored. Tracked in LASTRADA-Software/formula-cpp#36."
}
}