|
2 | 2 | "version": 8, |
3 | 3 | "configurePresets": [ |
4 | 4 | { |
5 | | - "name": "ci-macos-clang-debug", |
6 | | - "inherits": ["_ci-macos-clang", "_ci-debug", "_ci-clang-tidy"] |
| 5 | + "name": "ci-macos-clang-libc++-debug", |
| 6 | + "inherits": ["_ci-macos-clang-libc++", "_ci-debug", "_ci-clang-tidy"] |
7 | 7 | }, |
8 | 8 | { |
9 | | - "name": "ci-macos-clang-release", |
10 | | - "inherits": ["_ci-macos-clang", "_ci-release", "_ci-clang-tidy"] |
| 9 | + "name": "ci-macos-clang-libc++-release", |
| 10 | + "inherits": ["_ci-macos-clang-libc++", "_ci-release", "_ci-clang-tidy"] |
11 | 11 | }, |
12 | 12 | { |
13 | | - "name": "ci-macos-gcc-debug", |
| 13 | + "name": "ci-macos-clang-libstdc++-debug", |
| 14 | + "inherits": ["_ci-macos-clang-libstdc++", "_ci-debug", "_ci-clang-tidy"] |
| 15 | + }, |
| 16 | + { |
| 17 | + "name": "ci-macos-clang-libstdc++-release", |
| 18 | + "inherits": ["_ci-macos-clang-libstdc++", "_ci-release", "_ci-clang-tidy"] |
| 19 | + }, |
| 20 | + { |
| 21 | + "name": "ci-macos-gcc-libstdc++-debug", |
14 | 22 | "inherits": ["_ci-macos-gcc", "_ci-debug"] |
15 | 23 | }, |
16 | 24 | { |
17 | | - "name": "ci-macos-gcc-release", |
| 25 | + "name": "ci-macos-gcc-libstdc++-release", |
18 | 26 | "inherits": ["_ci-macos-gcc", "_ci-release"] |
19 | 27 | }, |
20 | 28 | { |
21 | | - "name": "ci-ubuntu-clang-release", |
22 | | - "inherits": ["_ci-ubuntu-clang", "_ci-release", "_ci-clang-tidy"] |
| 29 | + "name": "ci-ubuntu-clang-libstdc++-release", |
| 30 | + "inherits": [ |
| 31 | + "_ci-ubuntu-clang-libstdc++", |
| 32 | + "_ci-release", |
| 33 | + "_ci-clang-tidy" |
| 34 | + ] |
23 | 35 | }, |
24 | 36 | { |
25 | | - "name": "_ci-macos-clang", |
| 37 | + "name": "_ci-macos-clang-libc++", |
| 38 | + "hidden": true, |
| 39 | + "inherits": ["_ci-macos-clang-common", "_ci-clang-libc++"], |
| 40 | + "cacheVariables": { |
| 41 | + "CMAKE_CXX_FLAGS": "$env{PRESET_CXX_FLAGS_GCC_CLANG} $env{PRESET_CXX_FLAGS_LIBCPP_FOR_CLANG}" |
| 42 | + } |
| 43 | + }, |
| 44 | + { |
| 45 | + "name": "_ci-macos-clang-libstdc++", |
26 | 46 | "hidden": true, |
27 | 47 | "inherits": [ |
28 | | - "gcc-clang-flags", |
29 | | - "_ci-common", |
30 | | - "_ci-clang", |
| 48 | + "_ci-macos-clang-common", |
31 | 49 | "_ci-gcc-libstdc++-for-clang-common", |
32 | 50 | "_ci-gcc-libstdc++-for-clang-macos" |
33 | 51 | ], |
34 | 52 | "cacheVariables": { |
35 | 53 | "CMAKE_CXX_FLAGS": "$env{PRESET_CXX_FLAGS_GCC_CLANG} $env{PRESET_CXX_FLAGS_LIBSTDCPP_FOR_CLANG_COMMON} $env{PRESET_CXX_FLAGS_LIBSTDCPP_FOR_CLANG_MACOS}" |
36 | 54 | } |
37 | 55 | }, |
| 56 | + { |
| 57 | + "name": "_ci-macos-clang-common", |
| 58 | + "hidden": true, |
| 59 | + "inherits": ["gcc-clang-flags", "_ci-common", "_ci-clang"] |
| 60 | + }, |
38 | 61 | { |
39 | 62 | "name": "_ci-macos-gcc", |
40 | 63 | "hidden": true, |
|
44 | 67 | } |
45 | 68 | }, |
46 | 69 | { |
47 | | - "name": "_ci-ubuntu-clang", |
| 70 | + "name": "_ci-ubuntu-clang-libstdc++", |
48 | 71 | "hidden": true, |
49 | 72 | "inherits": [ |
50 | 73 | "gcc-clang-flags", |
|
100 | 123 | "CMAKE_CXX_CLANG_TIDY": "$penv{HOMEBREW_PREFIX}/opt/llvm/bin/clang-tidy" |
101 | 124 | } |
102 | 125 | }, |
| 126 | + { |
| 127 | + "name": "_ci-clang-libc++", |
| 128 | + "hidden": true, |
| 129 | + "environment": { |
| 130 | + "PRESET_CXX_FLAGS_LIBCPP_FOR_CLANG": "-stdlib++-isystem$penv{HOMEBREW_PREFIX}/opt/llvm/include/c++/v1" |
| 131 | + }, |
| 132 | + "cacheVariables": { |
| 133 | + "CMAKE_EXE_LINKER_FLAGS": "-stdlib=libc++ -L$penv{HOMEBREW_PREFIX}/opt/llvm/lib/c++ -L$penv{HOMEBREW_PREFIX}/opt/llvm/lib/unwind -lunwind", |
| 134 | + "CMAKE_SHARED_LINKER_FLAGS": "-stdlib=libc++ -L$penv{HOMEBREW_PREFIX}/opt/llvm/lib/c++ -L$penv{HOMEBREW_PREFIX}/opt/llvm/lib/unwind -lunwind", |
| 135 | + "CONAN_HOST_PROFILE": "${sourceDir}/conan-profile-clang-with-libc++;auto-cmake" |
| 136 | + } |
| 137 | + }, |
103 | 138 | { |
104 | 139 | "name": "_ci-gcc-libstdc++-for-clang-common", |
105 | 140 | "hidden": true, |
|
129 | 164 | ], |
130 | 165 | "buildPresets": [ |
131 | 166 | { |
132 | | - "name": "ci-macos-clang-debug", |
133 | | - "configurePreset": "ci-macos-clang-debug" |
| 167 | + "name": "ci-macos-clang-libc++-debug", |
| 168 | + "configurePreset": "ci-macos-clang-libc++-debug" |
| 169 | + }, |
| 170 | + { |
| 171 | + "name": "ci-macos-clang-libc++-release", |
| 172 | + "configurePreset": "ci-macos-clang-libc++-release" |
134 | 173 | }, |
135 | 174 | { |
136 | | - "name": "ci-macos-clang-release", |
137 | | - "configurePreset": "ci-macos-clang-release" |
| 175 | + "name": "ci-macos-clang-libstdc++-debug", |
| 176 | + "configurePreset": "ci-macos-clang-libstdc++-debug" |
138 | 177 | }, |
139 | 178 | { |
140 | | - "name": "ci-macos-gcc-debug", |
141 | | - "configurePreset": "ci-macos-gcc-debug" |
| 179 | + "name": "ci-macos-clang-libstdc++-release", |
| 180 | + "configurePreset": "ci-macos-clang-libstdc++-release" |
142 | 181 | }, |
143 | 182 | { |
144 | | - "name": "ci-macos-gcc-release", |
145 | | - "configurePreset": "ci-macos-gcc-release" |
| 183 | + "name": "ci-macos-gcc-libstdc++-debug", |
| 184 | + "configurePreset": "ci-macos-gcc-libstdc++-debug" |
146 | 185 | }, |
147 | 186 | { |
148 | | - "name": "ci-ubuntu-clang-release", |
149 | | - "configurePreset": "ci-ubuntu-clang-release" |
| 187 | + "name": "ci-macos-gcc-libstdc++-release", |
| 188 | + "configurePreset": "ci-macos-gcc-libstdc++-release" |
| 189 | + }, |
| 190 | + { |
| 191 | + "name": "ci-ubuntu-clang-libstdc++-release", |
| 192 | + "configurePreset": "ci-ubuntu-clang-libstdc++-release" |
150 | 193 | } |
151 | 194 | ], |
152 | 195 | "testPresets": [ |
153 | 196 | { |
154 | | - "name": "ci-macos-clang-debug", |
155 | | - "configurePreset": "ci-macos-clang-debug", |
| 197 | + "name": "ci-macos-clang-libc++-debug", |
| 198 | + "configurePreset": "ci-macos-clang-libc++-debug", |
| 199 | + "inherits": ["output-on-failure"] |
| 200 | + }, |
| 201 | + { |
| 202 | + "name": "ci-macos-clang-libc++-release", |
| 203 | + "configurePreset": "ci-macos-clang-libc++-release", |
| 204 | + "inherits": ["output-on-failure"] |
| 205 | + }, |
| 206 | + { |
| 207 | + "name": "ci-macos-clang-libstdc++-debug", |
| 208 | + "configurePreset": "ci-macos-clang-libstdc++-debug", |
156 | 209 | "inherits": ["output-on-failure"] |
157 | 210 | }, |
158 | 211 | { |
159 | | - "name": "ci-macos-clang-release", |
160 | | - "configurePreset": "ci-macos-clang-release", |
| 212 | + "name": "ci-macos-clang-libstdc++-release", |
| 213 | + "configurePreset": "ci-macos-clang-libstdc++-release", |
161 | 214 | "inherits": ["output-on-failure"] |
162 | 215 | }, |
163 | 216 | { |
164 | | - "name": "ci-macos-gcc-debug", |
165 | | - "configurePreset": "ci-macos-gcc-debug", |
| 217 | + "name": "ci-macos-gcc-libstdc++-debug", |
| 218 | + "configurePreset": "ci-macos-gcc-libstdc++-debug", |
166 | 219 | "inherits": ["output-on-failure"] |
167 | 220 | }, |
168 | 221 | { |
169 | | - "name": "ci-macos-gcc-release", |
170 | | - "configurePreset": "ci-macos-gcc-release", |
| 222 | + "name": "ci-macos-gcc-libstdc++-release", |
| 223 | + "configurePreset": "ci-macos-gcc-libstdc++-release", |
171 | 224 | "inherits": ["output-on-failure"] |
172 | 225 | }, |
173 | 226 | { |
174 | | - "name": "ci-ubuntu-clang-release", |
175 | | - "configurePreset": "ci-ubuntu-clang-release", |
| 227 | + "name": "ci-ubuntu-clang-libstdc++-release", |
| 228 | + "configurePreset": "ci-ubuntu-clang-libstdc++-release", |
176 | 229 | "inherits": ["output-on-failure"] |
177 | 230 | } |
178 | 231 | ], |
179 | 232 | "workflowPresets": [ |
180 | 233 | { |
181 | | - "name": "ci-macos-clang-debug", |
| 234 | + "name": "ci-macos-clang-libc++-debug", |
| 235 | + "steps": [ |
| 236 | + { |
| 237 | + "type": "configure", |
| 238 | + "name": "ci-macos-clang-libc++-debug" |
| 239 | + }, |
| 240 | + { |
| 241 | + "type": "build", |
| 242 | + "name": "ci-macos-clang-libc++-debug" |
| 243 | + }, |
| 244 | + { |
| 245 | + "type": "test", |
| 246 | + "name": "ci-macos-clang-libc++-debug" |
| 247 | + } |
| 248 | + ] |
| 249 | + }, |
| 250 | + { |
| 251 | + "name": "ci-macos-clang-libc++-release", |
| 252 | + "steps": [ |
| 253 | + { |
| 254 | + "type": "configure", |
| 255 | + "name": "ci-macos-clang-libc++-release" |
| 256 | + }, |
| 257 | + { |
| 258 | + "type": "build", |
| 259 | + "name": "ci-macos-clang-libc++-release" |
| 260 | + }, |
| 261 | + { |
| 262 | + "type": "test", |
| 263 | + "name": "ci-macos-clang-libc++-release" |
| 264 | + } |
| 265 | + ] |
| 266 | + }, |
| 267 | + { |
| 268 | + "name": "ci-macos-clang-libstdc++-debug", |
182 | 269 | "steps": [ |
183 | 270 | { |
184 | 271 | "type": "configure", |
185 | | - "name": "ci-macos-clang-debug" |
| 272 | + "name": "ci-macos-clang-libstdc++-debug" |
186 | 273 | }, |
187 | 274 | { |
188 | 275 | "type": "build", |
189 | | - "name": "ci-macos-clang-debug" |
| 276 | + "name": "ci-macos-clang-libstdc++-debug" |
190 | 277 | }, |
191 | 278 | { |
192 | 279 | "type": "test", |
193 | | - "name": "ci-macos-clang-debug" |
| 280 | + "name": "ci-macos-clang-libstdc++-debug" |
194 | 281 | } |
195 | 282 | ] |
196 | 283 | }, |
197 | 284 | { |
198 | | - "name": "ci-macos-clang-release", |
| 285 | + "name": "ci-macos-clang-libstdc++-release", |
199 | 286 | "steps": [ |
200 | 287 | { |
201 | 288 | "type": "configure", |
202 | | - "name": "ci-macos-clang-release" |
| 289 | + "name": "ci-macos-clang-libstdc++-release" |
203 | 290 | }, |
204 | 291 | { |
205 | 292 | "type": "build", |
206 | | - "name": "ci-macos-clang-release" |
| 293 | + "name": "ci-macos-clang-libstdc++-release" |
207 | 294 | }, |
208 | 295 | { |
209 | 296 | "type": "test", |
210 | | - "name": "ci-macos-clang-release" |
| 297 | + "name": "ci-macos-clang-libstdc++-release" |
211 | 298 | } |
212 | 299 | ] |
213 | 300 | }, |
214 | 301 | { |
215 | | - "name": "ci-macos-gcc-debug", |
| 302 | + "name": "ci-macos-gcc-libstdc++-debug", |
216 | 303 | "steps": [ |
217 | 304 | { |
218 | 305 | "type": "configure", |
219 | | - "name": "ci-macos-gcc-debug" |
| 306 | + "name": "ci-macos-gcc-libstdc++-debug" |
220 | 307 | }, |
221 | 308 | { |
222 | 309 | "type": "build", |
223 | | - "name": "ci-macos-gcc-debug" |
| 310 | + "name": "ci-macos-gcc-libstdc++-debug" |
224 | 311 | }, |
225 | 312 | { |
226 | 313 | "type": "test", |
227 | | - "name": "ci-macos-gcc-debug" |
| 314 | + "name": "ci-macos-gcc-libstdc++-debug" |
228 | 315 | } |
229 | 316 | ] |
230 | 317 | }, |
231 | 318 | { |
232 | | - "name": "ci-macos-gcc-release", |
| 319 | + "name": "ci-macos-gcc-libstdc++-release", |
233 | 320 | "steps": [ |
234 | 321 | { |
235 | 322 | "type": "configure", |
236 | | - "name": "ci-macos-gcc-release" |
| 323 | + "name": "ci-macos-gcc-libstdc++-release" |
237 | 324 | }, |
238 | 325 | { |
239 | 326 | "type": "build", |
240 | | - "name": "ci-macos-gcc-release" |
| 327 | + "name": "ci-macos-gcc-libstdc++-release" |
241 | 328 | }, |
242 | 329 | { |
243 | 330 | "type": "test", |
244 | | - "name": "ci-macos-gcc-release" |
| 331 | + "name": "ci-macos-gcc-libstdc++-release" |
245 | 332 | } |
246 | 333 | ] |
247 | 334 | }, |
248 | 335 | { |
249 | | - "name": "ci-ubuntu-clang-release", |
| 336 | + "name": "ci-ubuntu-clang-libstdc++-release", |
250 | 337 | "steps": [ |
251 | 338 | { |
252 | 339 | "type": "configure", |
253 | | - "name": "ci-ubuntu-clang-release" |
| 340 | + "name": "ci-ubuntu-clang-libstdc++-release" |
254 | 341 | }, |
255 | 342 | { |
256 | 343 | "type": "build", |
257 | | - "name": "ci-ubuntu-clang-release" |
| 344 | + "name": "ci-ubuntu-clang-libstdc++-release" |
258 | 345 | }, |
259 | 346 | { |
260 | 347 | "type": "test", |
261 | | - "name": "ci-ubuntu-clang-release" |
| 348 | + "name": "ci-ubuntu-clang-libstdc++-release" |
262 | 349 | } |
263 | 350 | ] |
264 | 351 | } |
|
0 commit comments