-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig
707 lines (652 loc) · 32.6 KB
/
config
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
#!/bin/bash
[ -z "$project" ] && project='arx'
# Where the local git repository is located there mus be no changes to the working tree.
repo="$here/repo/$project"
# Directory to use for building.
build="$here/build"
# Where to save the resulting logs. (must end in 'logs' for stats to work)
logs="$here/logs/$project"
# Where to save the resulting binaries.
bin="$here/bin/$project"
# Where to find additional toolchains.
toolchains="$here/toolchains"
deps="$here/deps"
# What part of the checked-out repo to build (location of the CMakeLists.txt)
path=''
export WINEPREFIX="$deps/msvc/"
export WINEDEBUG='-all'
boost_no_autodetect='-DBoost_NO_SYSTEM_PATHS=1 -DBoost_NO_BOOST_CMAKE=1'
boost_gcc41="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.52-gcc41/\""
boost_gcc43="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.52-gcc43/\""
boost_gcc46="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.57-gcc46/\""
set_cmake_toolchain="-DCMAKE_TOOLCHAIN_FILE=$toolchains"
default_cmake_options=''
llvm_dev="/opt/secret-llvm-dev/bin"
# Declare possible build options (passed to cmake).
declare -A cmake_options
cmake_options=(
[gcc-4.1]="\"$set_cmake_toolchain/gcc-4.1-toolchain.cmake\" $boost_gcc41"
[gcc-4.3]="\"$set_cmake_toolchain/gcc-4.3-toolchain.cmake\" $boost_gcc43"
[gcc-4.4]="\"$set_cmake_toolchain/gcc-4.4-toolchain.cmake\" $boost_gcc43"
[gcc-4.5]="\"$set_cmake_toolchain/gcc-4.5-toolchain.cmake\" $boost_gcc43"
[gcc-4.6]="\"$set_cmake_toolchain/gcc-4.6-toolchain.cmake\" $boost_gcc46"
[gcc-4.7]="\"$set_cmake_toolchain/gcc-4.7-toolchain.cmake\" $boost_gcc46"
[gcc-4.8]="\"$set_cmake_toolchain/gcc-4.8-toolchain.cmake\" $boost_gcc46"
[gcc-4.9]="\"$set_cmake_toolchain/gcc-4.9-toolchain.cmake\" $boost_gcc46"
[gcc-5]="\"$set_cmake_toolchain/gcc-5-toolchain.cmake\""
[gcc-6]="\"$set_cmake_toolchain/gcc-6-toolchain.cmake\""
[gcc-7]="\"$set_cmake_toolchain/gcc-7-toolchain.cmake\""
[gcc-8]="\"$set_cmake_toolchain/gcc-8-toolchain.cmake\""
[gcc-9]="\"$set_cmake_toolchain/gcc-9-toolchain.cmake\""
[gcc-10]="\"$set_cmake_toolchain/gcc-10-toolchain.cmake\""
[gcc-11]="\"$set_cmake_toolchain/gcc-11-toolchain.cmake\""
[gcc-12]="\"$set_cmake_toolchain/gcc-12-toolchain.cmake\""
[gcc-13]="\"$set_cmake_toolchain/gcc-13-toolchain.cmake\""
[gcc-dev]="\"$set_cmake_toolchain/gcc-dev-toolchain.cmake\""
[gcc-armv6j-hf]="\"$set_cmake_toolchain/armv6j-hardfloat-linux-gnueabi-toolchain.cmake\""
[gcc-freebsd-9.1-i686]="\"$set_cmake_toolchain/i686-gentoo-freebsd9.1-toolchain.cmake\""
[gcc-freebsd-9.1-x86-64]="\"$set_cmake_toolchain/x86_64-gentoo-freebsd9.1-toolchain.cmake\""
[gcc-bindist-i686]="\"$set_cmake_toolchain/i686-bindist-linux-gnu-toolchain.cmake\""
[gcc-bindist-x86-64]="\"$set_cmake_toolchain/x86_64-bindist-linux-gnu-toolchain.cmake\""
[clang-3.2]="\"$set_cmake_toolchain/clang-3.2-toolchain.cmake\""
[clang-3.3]="\"$set_cmake_toolchain/clang-3.3-toolchain.cmake\""
[clang-3.4]="\"$set_cmake_toolchain/clang-3.4-toolchain.cmake\""
[clang-3.5]="\"$set_cmake_toolchain/clang-3.5-toolchain.cmake\""
[clang-3.6]="\"$set_cmake_toolchain/clang-3.6-toolchain.cmake\""
[clang-3.7]="\"$set_cmake_toolchain/clang-3.7-toolchain.cmake\""
[clang-3.8]="\"$set_cmake_toolchain/clang-3.8-toolchain.cmake\""
[clang-3.9]="\"$set_cmake_toolchain/clang-3.9-toolchain.cmake\""
[clang-4]="\"$set_cmake_toolchain/clang-4-toolchain.cmake\""
[clang-5]="\"$set_cmake_toolchain/clang-5-toolchain.cmake\""
[clang-6]="\"$set_cmake_toolchain/clang-6-toolchain.cmake\""
[clang-7]="\"$set_cmake_toolchain/clang-7-toolchain.cmake\""
[clang-8]="\"$set_cmake_toolchain/clang-8-toolchain.cmake\""
[clang-9]="\"$set_cmake_toolchain/clang-9-toolchain.cmake\""
[clang-10]="\"$set_cmake_toolchain/clang-10-toolchain.cmake\""
[clang-11]="\"$set_cmake_toolchain/clang-11-toolchain.cmake\""
[clang-12]="\"$set_cmake_toolchain/clang-12-toolchain.cmake\""
[clang-13]="\"$set_cmake_toolchain/clang-13-toolchain.cmake\""
[clang-14]="\"$set_cmake_toolchain/clang-14-toolchain.cmake\""
[clang-15]="\"$set_cmake_toolchain/clang-15-toolchain.cmake\""
[clang-16]="\"$set_cmake_toolchain/clang-16-toolchain.cmake\""
[clang-17]="\"$set_cmake_toolchain/clang-17-toolchain.cmake\""
[clang-18]="\"$set_cmake_toolchain/clang-18-toolchain.cmake\""
[clang-dev]="\"$set_cmake_toolchain/clang-dev-toolchain.cmake\""
[msvc-9.0-x86]="\"$set_cmake_toolchain/msvc-9.0-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-9.0-x64]="\"$set_cmake_toolchain/msvc-9.0-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-10.0-x86]="\"$set_cmake_toolchain/msvc-10.0-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-11.0-x86]="\"$set_cmake_toolchain/msvc-11.0-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-11.0-x64]="\"$set_cmake_toolchain/msvc-11.0-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-12.0-x86]="\"$set_cmake_toolchain/msvc-12.0-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-12.0-x64]="\"$set_cmake_toolchain/msvc-12.0-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.0-x86]="\"$set_cmake_toolchain/msvc-14.0-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.0-x64]="\"$set_cmake_toolchain/msvc-14.0-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.0-arm]="\"$set_cmake_toolchain/msvc-14.0-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.11-x86]="\"$set_cmake_toolchain/msvc-14.11-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.11-x64]="\"$set_cmake_toolchain/msvc-14.11-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.11-arm]="\"$set_cmake_toolchain/msvc-14.11-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.11-arm64]="\"$set_cmake_toolchain/msvc-14.11-arm64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.12-x86]="\"$set_cmake_toolchain/msvc-14.12-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.12-x64]="\"$set_cmake_toolchain/msvc-14.12-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.12-arm]="\"$set_cmake_toolchain/msvc-14.12-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.12-arm64]="\"$set_cmake_toolchain/msvc-14.12-arm64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.13-x86]="\"$set_cmake_toolchain/msvc-14.13-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.13-x64]="\"$set_cmake_toolchain/msvc-14.13-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.13-arm]="\"$set_cmake_toolchain/msvc-14.13-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.13-arm64]="\"$set_cmake_toolchain/msvc-14.13-arm64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.14-x86]="\"$set_cmake_toolchain/msvc-14.14-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.14-x64]="\"$set_cmake_toolchain/msvc-14.14-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.14-arm]="\"$set_cmake_toolchain/msvc-14.14-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.14-arm64]="\"$set_cmake_toolchain/msvc-14.14-arm64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.15-x86]="\"$set_cmake_toolchain/msvc-14.15-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.15-x64]="\"$set_cmake_toolchain/msvc-14.15-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.15-arm]="\"$set_cmake_toolchain/msvc-14.15-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.15-arm64]="\"$set_cmake_toolchain/msvc-14.15-arm64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.16-x86]="\"$set_cmake_toolchain/msvc-14.16-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.16-x64]="\"$set_cmake_toolchain/msvc-14.16-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.16-arm]="\"$set_cmake_toolchain/msvc-14.16-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.16-arm64]="\"$set_cmake_toolchain/msvc-14.16-arm64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.20-x86]="\"$set_cmake_toolchain/msvc-14.20-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.20-x64]="\"$set_cmake_toolchain/msvc-14.20-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.20-arm]="\"$set_cmake_toolchain/msvc-14.20-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.20-arm64]="\"$set_cmake_toolchain/msvc-14.20-arm64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.21-x86]="\"$set_cmake_toolchain/msvc-14.21-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.21-x64]="\"$set_cmake_toolchain/msvc-14.21-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.21-arm]="\"$set_cmake_toolchain/msvc-14.21-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.21-arm64]="\"$set_cmake_toolchain/msvc-14.21-arm64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.22-x86]="\"$set_cmake_toolchain/msvc-14.22-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.22-x64]="\"$set_cmake_toolchain/msvc-14.22-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.22-arm]="\"$set_cmake_toolchain/msvc-14.22-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.22-arm64]="\"$set_cmake_toolchain/msvc-14.22-arm64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.23-x86]="\"$set_cmake_toolchain/msvc-14.23-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.23-x64]="\"$set_cmake_toolchain/msvc-14.23-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.23-arm]="\"$set_cmake_toolchain/msvc-14.23-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.23-arm64]="\"$set_cmake_toolchain/msvc-14.23-arm64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.24-x86]="\"$set_cmake_toolchain/msvc-14.24-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.24-x64]="\"$set_cmake_toolchain/msvc-14.24-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.24-arm]="\"$set_cmake_toolchain/msvc-14.24-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.24-arm64]="\"$set_cmake_toolchain/msvc-14.24-arm64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.25-x86]="\"$set_cmake_toolchain/msvc-14.25-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.25-x64]="\"$set_cmake_toolchain/msvc-14.25-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.25-arm]="\"$set_cmake_toolchain/msvc-14.25-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.25-arm64]="\"$set_cmake_toolchain/msvc-14.25-arm64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.26-x86]="\"$set_cmake_toolchain/msvc-14.26-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.26-x64]="\"$set_cmake_toolchain/msvc-14.26-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.26-arm]="\"$set_cmake_toolchain/msvc-14.26-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.26-arm64]="\"$set_cmake_toolchain/msvc-14.26-arm64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.27-x86]="\"$set_cmake_toolchain/msvc-14.27-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.27-x64]="\"$set_cmake_toolchain/msvc-14.27-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.27-arm]="\"$set_cmake_toolchain/msvc-14.27-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.27-arm64]="\"$set_cmake_toolchain/msvc-14.27-arm64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.28-x86]="\"$set_cmake_toolchain/msvc-14.28-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.28-x64]="\"$set_cmake_toolchain/msvc-14.28-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.28-arm]="\"$set_cmake_toolchain/msvc-14.28-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.28-arm64]="\"$set_cmake_toolchain/msvc-14.28-arm64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.29-x86]="\"$set_cmake_toolchain/msvc-14.29-x86-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.29-x64]="\"$set_cmake_toolchain/msvc-14.29-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.29-arm]="\"$set_cmake_toolchain/msvc-14.29-arm-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-14.29-arm64]="\"$set_cmake_toolchain/msvc-14.29-arm64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[msvc-analyzer]="\"$set_cmake_toolchain/msvc-14.29-x64-toolchain.cmake\" -DCMAKE_BUILD_TYPE=Release"
[clang-analyzer]="\"$set_cmake_toolchain/clang-analyzer-toolchain.cmake\""
[gcc-analyzer]="\"$set_cmake_toolchain/gcc-dev-toolchain.cmake\""
[mingw]="\"$set_cmake_toolchain/i686-w64-mingw32-toolchain.cmake\" -DBoost_NO_BOOST_CMAKE=1"
[winelib]="\"$set_cmake_toolchain/wine-toolchain.cmake\""
[debug]='-DCMAKE_BUILD_TYPE=Debug'
[boost-1.37]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.37/\""
[boost-1.39]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.39/\""
[boost-1.41]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.41/\""
[boost-1.42]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.42/\""
[boost-1.45]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.45/\""
[boost-1.46]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.46/\""
[boost-1.47]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.47/\""
[boost-1.48]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.48/\""
[boost-1.49]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.49/\""
[boost-1.50]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.50/\""
[boost-1.51]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.51/\""
[boost-1.52]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.52/\""
[boost-1.53]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.53/\""
[boost-1.54]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.54/\""
[boost-1.55]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.55/\""
[boost-1.56]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.56/\""
[boost-1.57]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.57/\""
[boost-1.58]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.58/\""
[boost-1.59]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.59/\""
[boost-1.60]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.60/\""
[boost-1.61]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.61/\""
[boost-1.62]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.62/\""
[boost-1.63]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.63/\""
[boost-1.64]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.64/\""
[boost-1.65]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.65/\""
[boost-1.66]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.66/\""
[boost-1.67]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.67/\""
[boost-1.68]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.68/\""
[boost-1.69]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.69/\""
[boost-1.70]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.70/\""
[boost-1.71]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.71/\""
[boost-1.72]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.72/\""
[boost-1.73]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.73/\""
[boost-1.74]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.74/\""
[boost-1.75]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.75/\""
[boost-1.76]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.76/\""
[boost-1.77]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.77/\""
[boost-1.78]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.78/\""
[boost-1.79]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.79/\""
[boost-1.80]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.80/\""
[boost-1.81]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.81/\""
[boost-1.82]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.82/\""
[boost-1.83]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.83/\""
[boost-1.84]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.84/\""
[boost-1.85]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.85/\""
[boost-git]="$boost_no_autodetect \"-DBOOST_INCLUDEDIR=$deps/boost-git/\""
[libcxx]="$boost_no_autodetect \"-DBOOST_ROOT=$deps/boost-1.83-libcxx/\""
[static]="-DUSE_STATIC_LIBS=1"
[lto]="-DUSE_STATIC_LIBS=1"
[glm-git]="-DCMAKE_INCLUDE_PATH=$deps/glm-git/"
)
cmake_options[clang-analyzer]+=" ${cmake_options[libcxx]}"
clang_compilation_database="${cmake_options[clang-dev]} -DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
cmake_options[clang-tidy]="$clang_compilation_database"
cmake_options[include-what-you-use]="$clang_compilation_database"
cmake_options[oclint]="${cmake_options[clang-13]} -DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
cmake_options[infer]="$clang_compilation_database"
# Declare possible build options (passed to the compiler).
declare -A compiler_options
compiler_options=(
[m32]='-m32'
[mingw]='-Wno-odr'
[gcc-armv6j-hf]='-Wno-odr'
[gcc-bindist-i686]='-Wno-odr'
[gcc-bindist-x86-64]='-Wno-odr'
[gcc-freebsd-9.1-i686]="-fno-lto"
[gcc-freebsd-9.1-x86-64]="-fno-lto"
[lto]='-static-libgcc -flto'
[msvc-analyzer]='/analyze /analyze:max_paths 1024'
)
declare -A c_compiler_options
c_compiler_options=( )
declare -A cxx_compiler_options
cxx_compiler_options=(
[libstdcxx]='-stdlib=libstdc++'
[libcxx]='-stdlib=libc++'
[clang-analyzer]='-stdlib=libc++'
[lto]='-static-libstdc++'
[gcc-analyzer]='-fanalyzer'
)
# Declare possible build options (passed to the linker).
declare -A linker_options
linker_options=(
[m32]='-Wl,--no-warn-search-mismatch'
[gcc-freebsd-9.1-i686]="-fno-lto"
[gcc-freebsd-9.1-x86-64]="-fno-lto"
[lto]='-static-libgcc -static-libstdc++ -flto -fuse-linker-plugin'
)
# Declare directories containing source code (for cppcheck and flawfinder)
source_directories=(
"$repo/src"
)
# Declare directories containing include files (for cppcheck)
include_directories=(
-I "$repo/src"
)
# cppcheck options
cppcheck_options=(
--quiet
--force
--enable='warning,style,performance,portability'
)
# Clang Tidy optons
clang_tidy_options=(
-quiet
-header-filter='.*' # Otherwise we don't get warnings in headers without corresponding .cpp files
)
clang_tidy_checks=(
# Enable everything by default so that we will notice new checks
'*'
# Disable regular clang wanrings
'-clang-diagnostic-*' # Already covered by regular builds
'-clang-analyzer-*' # Already covered by clang-analyzer builds
# Disable aliases - use the direct name
'-cert-dcl03-c'
'-cert-dcl16-c'
'-cert-dcl37-c'
'-cert-dcl51-cpp'
'-cert-dcl54-cpp'
'-cert-dcl59-cpp'
'-cert-err09-cpp'
'-cert-err61-cpp'
'-cert-exp42-c'
'-cert-fio38-c'
'-cert-flp37-c'
'-cert-int09-c'
'-cert-msc30-c'
'-cert-oop11-cpp'
'-cert-str34-c'
'-cppcoreguidelines-avoid-c-arrays'
'-cppcoreguidelines-avoid-magic-numbers'
'-cppcoreguidelines-c-copy-assignment-signature'
'-cppcoreguidelines-explicit-virtual-functions'
'-cppcoreguidelines-macro-to-enum'
'-cppcoreguidelines-narrowing-conversions'
'-cppcoreguidelines-non-private-member-variables-in-classes'
'-cppcoreguidelines-use-default-member-init'
'-google-readability-braces-around-statements'
'-google-readability-function-size'
'-google-readability-namespace-comments'
'-google-readability-redundant-smartptr-get'
'-hicpp-avoid-c-arrays'
'-hicpp-avoid-goto'
'-hicpp-braces-around-statements'
'-hicpp-deprecated-headers'
'-hicpp-explicit-conversions'
'-hicpp-function-size'
'-hicpp-invalid-access-moved'
'-hicpp-member-init'
'-hicpp-move-const-arg'
'-hicpp-named-parameter'
'-hicpp-new-delete-operators'
'-hicpp-no-array-decay'
'-hicpp-no-malloc'
'-hicpp-noexcept-move'
'-hicpp-special-member-functions'
'-hicpp-static-assert'
'-hicpp-undelegated-constructor'
'-hicpp-uppercase-literal-suffix'
'-hicpp-use-auto'
'-hicpp-use-emplace'
'-hicpp-use-equals-default'
'-hicpp-use-equals-delete'
'-hicpp-use-noexcept'
'-hicpp-use-nullptr'
'-hicpp-use-override'
'-hicpp-vararg'
'-llvm-else-after-return'
'-llvm-qualified-auto'
# Disable warnings that advertise using non-standard libraries
'-abseil-string-find-str-contains'
'-altera-unroll-loops'
'-cppcoreguidelines-owning-memory'
'-cppcoreguidelines-pro-bounds-array-to-pointer-decay'
'-cppcoreguidelines-pro-bounds-constant-array-index'
'-cppcoreguidelines-pro-bounds-pointer-arithmetic'
'-cppcoreguidelines-pro-type-union-access'
# Disable warnings we never want
'-llvmlibc-*' # Only makes sense for libc
'-altera-id-dependent-backward-branch' # Not useful outside GPGPU
'-android-cloexec-fopen' # Suggests nonstandard flags
'-cppcoreguidelines-avoid-do-while' # meh
'-cppcoreguidelines-pro-type-reinterpret-cast' # reinterpret_cast is needed
'-cppcoreguidelines-pro-type-static-cast-downcast' # Advocates using dynamic_cast
'-fuchsia-default-arguments-calls' # Completely forbids calling functions with default arguments
'-fuchsia-default-arguments-declarations' # Completely forbids default arguments
'-fuchsia-default-arguments' # Completely forbids default arguments
'-fuchsia-multiple-inheritance' # Forbids non-virtual multiple inheritance
'-fuchsia-overloaded-operator' # Forbids overloaded operators
'-fuchsia-statically-constructed-objects' # Forbids static objects
'-fuchsia-trailing-return' # Mkay
'-fuchsia-virtual-inheritance' # Forbids virtual inheritance
'-google-default-arguments' # Forbids default arguments on virtual member functions
'-google-readability-todo' # Wants usernames in TODOs
'-google-runtime-references' # Providing information that something is not NULL is useful
'-hicpp-signed-bitwise' # Warns even on positive integer constants
'-llvm-header-guard' # Very specific to LLVM
'-llvm-include-order' # Wants to sort "a/b.hpp" before "b.hpp"
'-llvm-twine-local' # Very specific to LLVM
'-misc-no-recursion' # Recursion is fine
'-modernize-use-trailing-return-type' # A bit excessive...
'-readability-implicit-bool-conversion' # These are just too useful
'-readability-math-missing-parentheses' # A bit excessive
)
clang_tidy_checks_relaxed=(
'-altera-struct-pack-align' # Some structs have to be packed
'-bugprone-macro-parentheses' # Parentheses are not always correct
'-cert-dcl58-cpp' # Warns for allowed modifications
'-cppcoreguidelines-avoid-const-or-ref-data-members' # Some may be reasonable
'-cppcoreguidelines-avoid-non-const-global-variables' # Some may be reasonable
'-cppcoreguidelines-init-variables' # Sometimes a valid perfomance optimization
'-cppcoreguidelines-pro-type-const-cast' # Required sometimes to interact with C APIs
'-cppcoreguidelines-pro-type-reinterpret-cast' # Required sometimes to interact with C APIs
'-google-explicit-constructor' # Already checkd by `make style` with the option to suppress the warning
'-misc-confusable-identifiers' # Warns on O vs 0 and I vs 1
'-misc-misplaced-widening-cast' # Warns on cast to enum
'-modernize-deprecated-headers' # Not always possible
'-readability-avoid-nested-conditional-operator' # Meh
'-readability-function-cognitive-complexity' # Arbitrary metric
'-readability-make-member-function-const' # Sometimes functions should semantically not be const
'-readability-static-accessed-through-instance' # This is actually more readable in many cases
)
clang_tidy_checks_nocxx20=(
'-modernize-use-constraints'
)
clang_tidy_checks_nocxx11=(
"${clang_tidy_checks_nocxx20[@]}"
'-modernize-*'
'modernize-redundant-void-arg'
'modernize-use-bool-literals'
'-boost-use-to-string' # std::to_string is C++11-only
'-cppcoreguidelines-macro-usage' # suggest to use constexpr constants instead
'-performance-no-int-to-ptr' # consflicts with using pointer to private to emulate explicit operator bool
'-llvm-namespace-comment' # Does not recognize the "} } // namespace a::b" syntax
)
declare -A clang_tidy_config
clang_tidy_config=(
['bugprone-argument-comment.StrictMode']=1
['bugprone-narrowing-conversions.PedanticMode']=1
['bugprone-unused-return-value.AllowCastToVoid']=1
['cppcoreguidelines-prefer-member-initializer.UseAssignment']=1
['cppcoreguidelines-pro-type-member-init.IgnoreArrays']=1
['cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions']=1
['google-runtime-int.SignedTypePrefix']='"std::int"'
['google-runtime-int.TypeSuffix']='"_t"'
['google-runtime-int.UnsignedTypePrefix']='"std::uint"'
['misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic']=1
['readability-implicit-bool-conversion.AllowPointerConditions']=1
['readability-uppercase-literal-suffix.NewSuffixes']='u;l;ul;ll;ull;f'
['cppcoreguidelines-rvalue-reference-param-not-moved.AllowPartialMove']=1
)
generate_clang_tidy_config() {
local checks=''
local checks_array=( "${clang_tidy_checks[@]}" )
local args
parse_build_type "$buildid" 'args'
for arg in "${args[@]:1}" ; do
eval "checks_array+=( \"\${clang_tidy_checks_${arg}[@]}\" )"
done
for check in "${checks_array[@]}" ; do
[ -z "$checks" ] || checks+=','
checks+="$check"
done
local options=''
for option in "${!clang_tidy_config[@]}" ; do
[ -z "$options" ] || options+=', '
options+="{ key: \"$option\" , value: ${clang_tidy_config[$option]} }"
done
printf "{ Checks: \"%s\", CheckOptions: [%s] }" "$checks" "$options"
}
include_what_you_use_options=(
-Xiwyu --mapping_file="$toolchains/include-what-you-use.imp"
-Xiwyu --max_line_length=999
)
oclint_jcd_options=( )
oclint_options=(
--enable-global-analysis
--list-enabled-rules
--max-priority-1=10000
--max-priority-2=10000
--max-priority-3=10000
# see https://oclint-docs.readthedocs.io/en/stable/rules/index.html
--disable-rule=ShortVariableName
--disable-rule=LongVariableName
--disable-rule=BitwiseOperatorInConditional
# see http://docs.oclint.org/en/stable/howto/thresholds.html#available-thresholds
--rc=LONG_LINE=120
--rc=LONG_METHOD=250
--rc=NCSS_METHOD=100
--rc=NPATH_COMPLEXITY=500
--rc=CYCLOMATIC_COMPLEXITY=25
)
scan_build="$llvm_dev/scan-build --use-cc=$llvm_dev/clang --use-c++=$llvm_dev/clang++"
scan_build+=" --html-title=\"\$project_name: \$buildid build\""
scan_build+=" -no-failure-reports"
# Configure command (default is "cmake")
declare -A config_command
config_command=(
[cmake-2.8.0]="\"$deps/cmake-2.8.0/bin/cmake\""
[cmake-2.8.3]="\"$deps/cmake-2.8.3/bin/cmake\""
[cmake-3.12]="\"$deps/cmake-3.12/bin/cmake\""
[cmake-dev]='/opt/cmake-dev/bin/cmake'
[clang-analyzer]="$scan_build -o \"\$build/config-results\" cmake"
[cppcheck]='cppcheck --version #'
[flawfinder]="printf 'Flawfinder ' ; flawfinder --version #"
[shellcheck]="shellcheck --version #"
)
# Declare how to build the projects (default is `make $makeopts`).
makeopts="--keep-going --no-print-directory"
scan_build+=" \$([[ \"\$buildid\" == *unity* ]] && printf '%s' '-analyze-headers')"
declare -A make_command
make_command=(
[style]="make $makeopts style"
[doxygen]="make $makeopts doc"
[cppcheck]='cppcheck "${cppcheck_options[@]}" --cppcheck-build-dir="$PWD" "${include_directories[@]}" "${source_directories[@]}"'
[flawfinder]='flawfinder --quiet --minlevel=3 "${source_directories[@]}"'
[shellcheck]='"$toolchains/shell-analyzer" -f gcc "$repo"'
[clang-analyzer]="$scan_build -o \"\$build/results\" make $makeopts"
[clang-tidy]='$toolchains/run-clang-tidy.py "$llvm_dev/clang-tidy" -config="$(generate_clang_tidy_config)" "${clang_tidy_options[@]}"'
[include-what-you-use]='$toolchains/include-what-you-use "${include_what_you_use_options[@]}"'
[oclint]='$deps/oclint-22.02/bin/oclint-json-compilation-database "${oclint_jcd_options[@]}" -- "${oclint_options[@]}"'
)
qt_gcc48="$deps/Qt-5.4-gcc48"
cppunit_gcc48="$deps/cppunit-1.13.2-gcc48"
cppunit_oldlibcxx="$deps/cppunit-1.13.2-libcxx"
cppunit_libcxx="$deps/cppunit-1.14.0-libcxx"
declare -A prefix_paths
prefix_paths=(
[curl-7.20.0]="$deps/CURL-7.20.0"
[libiconv-1.7]="$deps/libiconv-1.7"
[libiconv-1.14]="$deps/libiconv-1.14"
[liblzma-5.0.0]="$deps/liblzma-5.0.0"
[sdl-1.2.10]="$deps/SDL-1.2.10"
[openal-soft-1.0.38]="$deps/openal-soft-1.0.38"
[glew-1.5.2]="$deps/glew-1.5.2"
[libepoxy-1.2]="$deps/libepoxy-1.2"
[freetype-2.3.0]="$deps/freetype-2.3.0"
[glm-0.9.5.0]="$deps/glm-0.9.5.0"
[glm-0.9.8.5]="$deps/glm-0.9.8.5"
[glm-0.9.9.4]="$deps/glm-0.9.9.4"
[glm-0.9.9.7]="$deps/glm-0.9.9.7"
[gcc-bindist-i686]="$deps/Qt-5.1-32"
[gcc-bindist-x86-64]="$deps/Qt-5.1-64"
[qt-5.1-32]="$deps/Qt-5.1-32"
[qt-5.1-64]="$deps/Qt-5.1-64"
[gcc-4.3]="$qt_gcc48;$cppunit_gcc48"
[gcc-4.4]="$qt_gcc48;$cppunit_gcc48"
[gcc-4.5]="$qt_gcc48;$cppunit_gcc48"
[gcc-4.6]="$qt_gcc48;$cppunit_gcc48"
[gcc-4.7]="$qt_gcc48;$cppunit_gcc48"
[gcc-4.8]="$qt_gcc48;$cppunit_gcc48"
[gcc-4.9]="$qt_gcc48;$cppunit_gcc48"
[gcc-5]="$qt_gcc48"
[gcc-6]="$qt_gcc48"
[gcc-8]="$qt_gcc48"
[gcc-9]="$qt_gcc48"
[gcc-10]="$qt_gcc48"
[cppunit-1.13.0]="$deps/cppunit-1.13.0-gcc7"
[libcxx]="$cppunit_libcxx"
[clang-analyzer]="$cppunit_libcxx"
)
# Define how buildstats counts errors and warnings.
# Numbered entries are used for all builds.
# For other entries, the key is matched agains the build type.
# Declare patterns that count as a warning.
declare -A count_warnings
count_warnings=(
[0]='\: warning\:'
[1]='\: Warning\:'
[2]='\: note\: \#pragma message'
# [3]='\: note\: type .* should match type .*'
# [4]='\: note\: type .* violates the C\+\+ One Definition Rule'
['style*']='.*\.(cpp|h|hpp)\:\d+\:|Can'"'"'t open for reading'
['oclint']='\:\d+\:\d+\: '
['msvc-*']='warning [A-Z]+\d+ *\:|\; restarting link with'
['cppcheck*']='\:\d+]\: \([a-z]|\: [a-z]+\:.*\[.*\]'
['flawfinder*']='\:\d+\: +\[\d+\] \([a-z]'
['shellcheck*']='\: note\:'
['doxygen*']='Warning\:'
['include-what-you-use*']='\: error\: (superfluous|add) '\'
)
# Declare patterns that count as an error.
declare -A count_errors
count_errors=(
[0]='\: error\:'
[1]='\: fatal error\:'
[2]='\: undefined reference to '
[3]='ld\: cannot find'
[3]='could not read symbols\: File in wrong format'
[4]='\: defined in discarded section '
[5]='ld returned 1 exit status'
[6]='\: recipe for target .all. failed'
[7]='no makefile found\. Stop\.'
[8]='error adding symbols\: File in wrong format'
[9]='error\: linker command failed'
[10]='Aborted'
[11]='Segmentation fault'
[12]='Bus error'
[13]='internal compiler error'
[14]='\. +Stop\.'
[15]='not remade because of errors'
[16]='\:\d+ Assertion'
[17]='([^a-zA-Z0-9_]|^)ERROR\:'
[18]='\d+\) test\: .* \([FE]\) line\: \d+'
[19]='Assertion .* failed'
['msvc-*']='error [A-Z]+\d+ *\:'
)
# Declare patterns for warnings that should be ignored.
declare -A ignore_warnings
ignore_warnings=(
['mingw*']='\-fPIC ignored for target \(all code is position independent\)|no symbol for section'
['msvc-analyzer*']='^[cC]\:\\'
['cppcheck*']='has a constructor with 1 argument that is not explicit' # better handled by other tools
['gcc-1*_debug*']='‘__builtin_memcpy’ reading \d+ bytes from a region of size \d+'
['gcc-dev*']='\: warning\: [ 0-9]*\|'
)
# Declare patterns for errors that should be ignored.
declare -A ignore_errors
ignore_errors=(
['style*']='not remade because of errors'
['cppcheck*']='\: error\:.*\[.*\]' # not really errors, just "severe" warnings
['include-what-you-use*']='\: error\: (superfluous|add) '\'
)
declare -A count_config_warnings
count_config_warnings=(
[0]='CMake Warning'
[1]='Could NOT find'
['gcc-*']='\-Wall \- unsupported'
['clang-*']='\-Wall \- unsupported'
['*xtra*']='\-fsanitize=.* \- unsupported \(warning\)'
)
declare -A ignore_config_warnings
ignore_config_warnings=(
)
declare -A count_config_errors
count_config_errors=(
[0]='Configuring incomplete, errors occurred!'
[1]='CMake Error'
)
config_unavailable=(
' - unsupported (warning)'
' - unsupported'
' - not found'
)
# Declare which build types have known false positive warnings/errors.
false_positives=(
'*_xtra'
'clang-analyzer*'
'gcc-analyzer*'
'clang-tidy*strict*'
'cppcheck*'
'flawfinder*'
'include-what-you-use*'
'oclint*'
'msvc-analyzer*'
'shellcheck*'
)
declare -A group_warnings
group_warnings=(
[0]='(?<=\[)[^\[\]\d][^\[\]]*?(?=\]( \[\d+\])?$)'
['msvc*']='(?<=\: warning )[A-Z][0-9]+(?=\:)'
['oclint*']='(?<=\d\: )[^\[\]]*(?= \[([^\]|*]*\|)?P\d+\])'
['cppcheck*']='\(error\) Memory leak|(?<=\]\: )\(.*$'
['flawfinder*']='(?<=\: \[[0-9]\] )\([^\)]*\) [^\:]*\:'
['include-what-you-use*']='(?<=\: error\: )(superfluous|add)'
)
declare -A group_filter
group_filter=(
['cppcheck*']="s: '[^']*'::g;s: at line [0-9][0-9]*::g;s: at index [0-9][0-9]*: at index:g;s: struct : class :g;s: Struct : Class :g;s: The class : Class :g"
)
declare -A group_documentation
group_documentation=(
['clang*']='s|++*|-|g;s|^\-\(.*\)$|https://clang.llvm.org/docs/DiagnosticsReference.html#\L\1|'
['clang-tidy*']='s|^\([^\-][^\-]*\)\-\(.*\)$|https://clang.llvm.org/extra/clang-tidy/checks/\1/\2.html|'
['flawfinder*']='s|^([^)]*) \(.*\):$|http://man7.org/linux/man-pages/man3/\1.3.html|'
['gcc*']='s|+|_002b|g;s|.*|https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index&|'
['msvc-analyzer*']='s|.*|https://docs.microsoft.com/en-us/visualstudio/code-quality/\L&|'
['shellcheck*']='s|.*|https://github.com/koalaman/shellcheck/wiki/&|'
)
allowed_branches=( 'master' )
declare -A favicons
favicons=()
# Coverity Scan project id to link to
covertiy_scan_project=''
# Travis CI project id to link to
travis_ci_project=''
# AppVeyor project id to link to
appveyor_project=''
# Enable color output on newer GCC versions (4.9+)
export GCC_COLORS=1
# Required for FindQt4.cmake to work when both Qt4 and Qt5 are installed
# FindQt5.cmake uses installed cmake config files instead of qmake and is not affected by this
export QT_SELECT=4
build_latest_tag=1
default_jobs=1
# Compliers and libraries to not run new builds for (but keep old logs)
disabled_configs=()
commit_url=