forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-presets.ini
1078 lines (814 loc) · 24.1 KB
/
build-presets.ini
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
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#===--- build-presets.ini - Option presets for building Swift --------------===#
#
## This source file is part of the Swift.org open source project
##
## Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
## Licensed under Apache License v2.0 with Runtime Library Exception
##
## See http://swift.org/LICENSE.txt for license information
## See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
#
#===------------------------------------------------------------------------===#
#===------------------------------------------------------------------------===#
# Buildbots for Darwin OSes
#===------------------------------------------------------------------------===#
[preset: mixin_buildbot_install_components]
dash-dash
swift-install-components=compiler;clang-builtin-headers;stdlib;sdk-overlay;editor-integration;tools;testsuite-tools;sourcekit-xpc-service;swift-remote-mirror;swift-remote-mirror-headers;
[preset: mixin_buildbot_trunk_base]
# Build standard library and SDK overlay for iOS device and simulator.
ios
tvos
watchos
test
validation-test
lit-args=-v
dash-dash
verbose-build
build-ninja
# Build static standard library because it is used
# to build external projects.
build-swift-static-stdlib
build-swift-static-sdk-overlay
build-swift-stdlib-unittest-extra
compiler-vendor=apple
install-swift
# Path to the root of the installation filesystem.
install-destdir=%(install_destdir)s
# Path to the .tar.gz package we would create.
installable-package=%(installable_package)s
# If someone uses this for incremental builds, force reconfiguration.
reconfigure
[preset: buildbot,tools=RA,stdlib=RD,test=no]
mixin-preset=
mixin_buildbot_trunk_base
mixin_buildbot_install_components
# Build Release without debug info, because it is faster to build.
release
assertions
dash-dash
swift-stdlib-build-type=RelWithDebInfo
swift-stdlib-enable-assertions=false
# Disable osx tests.
skip-test-osx
# Disable non-x86.
skip-build-ios
skip-test-ios
skip-build-tvos
skip-test-tvos
skip-build-watchos
skip-test-watchos
stdlib-deployment-targets=macosx-x86_64
swift-primary-variant-sdk=OSX
swift-primary-variant-arch=x86_64
[preset: mixin_buildbot_tools_RA_stdlib_RDA]
mixin-preset=
mixin_buildbot_trunk_base
mixin_buildbot_install_components
# Build Release without debug info, because it is faster to build.
release
assertions
# Also run tests in optimized modes.
test-optimized
dash-dash
swift-stdlib-build-type=RelWithDebInfo
swift-stdlib-enable-assertions=true
# This is a release non-incremental build. Run sil-verify-all.
sil-verify-all
[preset: mixin_buildbot_tools_RA_stdlib_RD]
mixin-preset=
mixin_buildbot_trunk_base
mixin_buildbot_install_components
# Build Release without debug info, because it is faster to build.
release
assertions
# Also run tests in optimized modes.
test-optimized
dash-dash
swift-stdlib-build-type=RelWithDebInfo
swift-stdlib-enable-assertions=false
build-serialized-stdlib-unittest
[preset: mixin_buildbot_tools_RA_stdlib_DA]
mixin-preset=
mixin_buildbot_trunk_base
mixin_buildbot_install_components
# Build Release without debug info, because it is faster to build.
release
assertions
dash-dash
swift-stdlib-build-type=Debug
swift-stdlib-enable-assertions=true
[preset: buildbot,tools=RA,stdlib=DA]
mixin-preset=
mixin_buildbot_tools_RA_stdlib_DA
dash-dash
# Don't run host tests for iOS, tvOS and watchOS platforms to make the build
# faster.
skip-test-ios-host
skip-test-tvos-host
skip-test-watchos-host
[preset: buildbot,tools=RA,stdlib=RD]
mixin-preset=
mixin_buildbot_tools_RA_stdlib_RD
dash-dash
# Don't run host tests for iOS, tvOS and watchOS platforms to make the build
# faster.
skip-test-ios-host
skip-test-tvos-host
skip-test-watchos-host
[preset: buildbot,tools=RA,stdlib=RDA]
mixin-preset=
mixin_buildbot_tools_RA_stdlib_RDA
dash-dash
# Don't run host tests for iOS, tvOS and watchOS platforms to make the build
# faster.
skip-test-ios-host
skip-test-tvos-host
skip-test-watchos-host
[preset: buildbot,tools=RA,stdlib=RDA,long_test]
mixin-preset=
mixin_buildbot_tools_RA_stdlib_RDA
test=0
validation-test=0
long-test=1
test-optimized=0
[preset: buildbot,tools=RA-flto,stdlib=RDA]
mixin-preset=
mixin_buildbot_tools_RA_stdlib_RDA
lto
dash-dash
build-swift-static-stdlib
build-swift-static-sdk-overlay
# Don't run host tests for iOS, tvOS and watchOS platforms to make the build
# faster.
skip-test-ios-host
skip-test-tvos-host
skip-test-watchos-host
#===------------------------------------------------------------------------===#
# Incremental buildbots for Darwin OSes
#===------------------------------------------------------------------------===#
[preset: buildbot_incremental_base]
test
validation-test
lit-args=-v
dash-dash
# On buildbots, always force a reconfiguration to make sure we pick up changes
# in the build-script and build-presets.ini.
reconfigure
verbose-build
build-ninja
build-swift-stdlib-unittest-extra
compiler-vendor=apple
[preset: buildbot_incremental_base_all_platforms]
mixin-preset=buildbot_incremental_base
# Build standard library and SDK overlay for iOS device and simulator.
ios
tvos
watchos
[preset: buildbot_incremental,tools=RA,stdlib=RA]
mixin-preset=buildbot_incremental_base_all_platforms
build-subdir=buildbot_incremental
# Build Release without debug info, because it is faster to build.
release
assertions
# Build llbuild & swiftpm here
llbuild
swiftpm
# Build Playground support
playgroundlogger
playgroundsupport
dash-dash
# Only run OS X tests to make the build cycle faster.
# We still build the iOS standard library though -- it is free given the
# parallelism.
skip-test-ios
skip-test-tvos
skip-test-watchos
[preset: buildbot_incremental,tools=RA,stdlib=RA,xcode]
mixin-preset=buildbot_incremental,tools=RA,stdlib=RA
build-subdir=buildbot_incremental_xcode
xcode
dash-dash
# We do not support building cross compiled stdlibs on OS X with Xcode. So only
# build the OS X SDK.
skip-build-ios
skip-test-ios
skip-build-tvos
skip-test-tvos
skip-build-watchos
skip-test-watchos
stdlib-deployment-targets=macosx-x86_64
swift-primary-variant-sdk=OSX
swift-primary-variant-arch=x86_64
skip-build-llbuild
skip-test-llbuild
skip-build-swiftpm
skip-test-swiftpm
skip-build-playgroundsupport
skip-test-playgroundsupport
# This preset is used by CI to test swift-corelibs-xctest.
[preset: buildbot_incremental,tools=RA,stdlib=RA,XCTest]
# We don't use buildbot_incremental_base_all_platforms because we don't need to
# build for iOS/tvOS.
mixin-preset=buildbot_incremental_base
# Build and test XCTest. On Linux, the build script is aware of the dependency
# on Foundation, so that is built as well. On OS X, Foundation is built as part
# of the XCTest Xcode project.
xctest
dash-dash
# This preset is meant to test XCTest, not Swift or Foundation. We don't
# want stochastic failures in those test suites to prevent XCTest tests from
# being run.
skip-test-cmark
skip-test-swift
skip-test-foundation
# This preset may be used by swift-corelibs-xctest contributors when building
# locally. It takes less time than the CI preset, but is less reliable at
# clearing out cached build products.
[preset: corelibs-xctest]
release
assertions
xctest
test
dash-dash
skip-test-cmark
skip-test-swift
skip-test-foundation
skip-build-benchmarks
[preset: buildbot_incremental_asan,tools=RDA,stdlib=RDA]
mixin-preset=buildbot_incremental_base_all_platforms
build-subdir=buildbot_incremental_asan
# Build Release with debug info, so that we can symbolicate backtraces.
release-debuginfo
assertions
dash-dash
# FIXME: Swift/ASan does not support iOS yet.
skip-build-ios
skip-test-ios
# FIXME: Swift/ASan does not support tvos yet.
skip-build-tvos
skip-test-tvos
# FIXME: Swift/ASan does not support watchos yet.
skip-build-watchos
skip-test-watchos
enable-asan
[preset: buildbot_incremental_tsan,tools=RDA,stdlib=RDA]
mixin-preset=buildbot_incremental_base_all_platforms
build-subdir=buildbot_incremental_tsan
# Build Release with debug info, so that we can symbolicate backtraces.
release-debuginfo
assertions
enable-tsan
dash-dash
skip-build-ios
skip-test-ios
skip-build-tvos
skip-test-tvos
skip-build-watchos
skip-test-watchos
[preset: buildbot_incremental_asan_ubsan,tools=RDA,stdlib=RDA]
mixin-preset=buildbot_incremental_base_all_platforms
build-subdir=buildbot_incremental_asan_ubsan
# Build Release with debug info, so that we can symbolicate backtraces.
release-debuginfo
assertions
dash-dash
# FIXME: Swift/UBSan does not support mac os x yet.
skip-build-osx
skip-test-osx
# FIXME: Swift/ASan does not support iOS yet.
skip-build-ios
skip-test-ios
# FIXME: Swift/ASan does not support tvos yet.
skip-build-tvos
skip-test-tvos
# FIXME: Swift/ASan does not support watchos yet.
skip-build-watchos
skip-test-watchos
enable-asan
enable-ubsan
[preset: buildbot_incremental_asan,tools=DA,stdlib=RDA]
mixin-preset=buildbot_incremental_base_all_platforms
build-subdir=buildbot_incremental_asan_debug
# Build Release with debug info, so that we can symbolicate backtraces.
assertions
dash-dash
# FIXME: Swift/ASan does not support iOS yet.
skip-build-ios
skip-test-ios
# FIXME: Swift/ASan does not support tvos yet.
skip-build-tvos
skip-test-tvos
# FIXME: Swift/ASan does not support watchos yet.
skip-build-watchos
skip-test-watchos
enable-asan
swift-stdlib-build-type=RelWithDebInfo
[preset: buildbot_incremental,tools=RA,stdlib=RD,smoketest=macosx]
mixin-preset=buildbot_incremental_base
build-subdir=buildbot_incremental
# We build release+asserts.
release
assertions
# We run the OS X tests and validation tests.
test
validation-test
llvm-targets-to-build=X86
dash-dash
# Always reconfigure cmake
reconfigure
# We want to always perform a verbose build
verbose-build
# Build ninja while we are at it
build-ninja
# We need to build the unittest extras so we can test
build-swift-stdlib-unittest-extra
# Set the vendor to apple
compiler-vendor=apple
# Make sure our stdlib is RA.
swift-stdlib-build-type=RelWithDebInfo
swift-stdlib-enable-assertions=true
# Disable non-x86 building/testing.
skip-build-ios
skip-test-ios
skip-build-tvos
skip-test-tvos
skip-build-watchos
skip-test-watchos
stdlib-deployment-targets=macosx-x86_64
swift-primary-variant-sdk=OSX
swift-primary-variant-arch=x86_64
# Don't build the benchmarks
skip-build-benchmarks
[preset: buildbot_incremental,tools=RA,stdlib=RD,smoketest=macosx,flto]
mixin-preset=buildbot_incremental,tools=RA,stdlib=RD,smoketest=macosx
build-subdir=buildbot_incremental
lto
dash-dash
[preset: buildbot_incremental,tools=RA,llvm-only]
build-subdir=buildbot_incremental_llvmonly
# Build Release without debug info, because it is faster to build.
release-debug
assertions
test=0
lit-args=-v
dash-dash
llvm-include-tests
reconfigure
verbose-build
build-ninja
compiler-vendor=apple
# Do not build swift or cmark
skip-build-swift
skip-build-cmark
#===------------------------------------------------------------------------===#
# A setting to run a buildbot that passes extra swift args when compiling
# modules that match regexp.
#
# This is currently used to run non-default pass orderings to stress the
# optimizer. See utils/pass-pipeline.
#===------------------------------------------------------------------------===#
[preset: buildbot_incremental_extra_swift_args,tools=RA,stdlib=RD]
build-subdir=buildbot_incremental_extra_swift_args
# Build standard library and SDK overlay for iOS device and simulator.
test
validation-test
extra-swift-args=%(extra_swift_args)s
release
assertions
dash-dash
# On buildbots, always force a reconfiguration to make sure we pick up changes
# in the build-script and build-presets.ini.
reconfigure
verbose-build
build-ninja
build-swift-stdlib-unittest-extra
skip-build-ios
skip-test-ios
skip-build-lldb
compiler-vendor=apple
sil-verify-all
#===------------------------------------------------------------------------===#
# Convenience aliases
#
# Do not use on buildbots!
#===------------------------------------------------------------------------===#
[preset: buildbot_incremental]
mixin-preset=buildbot_incremental,tools=RA,stdlib=RA
[preset: asan]
mixin-preset=buildbot_incremental_asan,tools=RDA,stdlib=RDA
#===------------------------------------------------------------------------===#
# Special Runtime Builders
#===------------------------------------------------------------------------===#
[preset: buildbot_incremental_leaks]
build-subdir=buildbot_incremental_leaks
dash-dash
# Disable ios. These builders are x86 only.
skip-ios
skip-tvos
skip-watchos
# Disable x86 testing. skip-ios disables testing of ios as well.
skip-test-osx
# Always reconfigure so we pick up changes in the build-script and
# build-presets.ini.
reconfigure
verbose-build
build-ninja
build-swift-stdlib-unittest-extra
compiler-vendor=apple
swift-runtime-enable-leak-checker
[preset: buildbot_incremental_leaks,tools=RA,stdlib=R]
mixin-preset=buildbot_incremental_leaks
# Build release+asserts
release
assertions
dash-dash
# We want our stdlib to not have assertions.
swift-stdlib-enable-assertions=false
[preset: buildbot_incremental_leaks,tools=RA,stdlib=RA]
mixin-preset=buildbot_incremental_leaks
# Build release+asserts
release
assertions
#===------------------------------------------------------------------------===#
# Package Builders
#===------------------------------------------------------------------------===#
# A mixin that enables 'lightweight' assertions that don't slow down the
# compiler significantly.
[preset: mixin_lightweight_assertions]
assertions
no-swift-stdlib-assertions
# FIXME: This should be:
# no-assertions
# swift-assertions
# ... but our tests are expecting assertions to be either on or off everywhere.
dash-dash
# AST verifier slows down the compiler significantly.
swift-enable-ast-verifier=0
#===------------------------------------------------------------------------===#
# Linux Builders
#===------------------------------------------------------------------------===#
[preset: mixin_linux_installation]
mixin-preset=mixin_lightweight_assertions
llbuild
swiftpm
xctest
dash-dash
install-swift
install-lldb
install-llbuild
install-swiftpm
install-xctest
install-prefix=/usr
swift-install-components=autolink-driver;compiler;clang-builtin-headers;stdlib;swift-remote-mirror;sdk-overlay;license
build-swift-static-stdlib
build-swift-static-sdk-overlay
build-swift-stdlib-unittest-extra
# Executes the lit tests for the installable package that is created
# Assumes the swift-integration-tests repo is checked out
test-installable-package
# Path to the root of the installation filesystem.
install-destdir=%(install_destdir)s
# Path to the .tar.gz package we would create.
installable-package=%(installable_package)s
[preset: buildbot_linux]
mixin-preset=mixin_linux_installation
build-subdir=buildbot_linux
lldb
release
test
validation-test
long-test
foundation
lit-args=-v
dash-dash
install-foundation
reconfigure
# Ubuntu 16.04 preset for backwards compat and future customizations.
[preset: buildbot_linux_1604]
mixin-preset=buildbot_linux
# Ubuntu 15.10 preset for backwards compat and future customizations.
[preset: buildbot_linux_1510]
mixin-preset=buildbot_linux
# Ubuntu 14.04 preset for backwards compat and future customizations.
[preset: buildbot_linux_1404]
mixin-preset=buildbot_linux
[preset: buildbot_linux_1404_no_lldb]
mixin-preset=buildbot_incremental_linux
build-subdir=buildbot_linux
release
test
validation-test
long-test
foundation
lit-args=-v
[preset: buildbot_linux_armv7]
release
llbuild
lldb
# Not all tests pass, currently
#test
foundation
swiftpm
xctest
build-subdir=buildbot_linux
dash-dash
install-swift
install-lldb
install-llbuild
install-foundation
install-swiftpm
install-xctest
install-prefix=/usr
swift-install-components=autolink-driver;compiler;clang-builtin-headers;stdlib;swift-remote-mirror;sdk-overlay;dev
build-swift-static-stdlib
build-swift-static-sdk-overlay
skip-test-lldb
# Executes the lit tests for the installable package that is created
# Assumes the swift-package-tests repo is checked out
# FIXME: Disabled until a home for the swift-snapshot-tests can be found.
#test-installable-package
# Path to the root of the installation filesystem.
install-destdir=%(install_destdir)s
# Path to the .tar.gz package we would create.
installable-package=%(installable_package)s
[preset: buildbot_incremental_linux_base]
assertions
release
test
validation-test
lit-args=-v
dash-dash
reconfigure
[preset: buildbot_incremental_linux]
mixin-preset=buildbot_incremental_linux_base
build-subdir=buildbot_incremental
llbuild
swiftpm
xctest
foundation
dash-dash
[preset: buildbot_incremental_linux,long_test]
mixin-preset=buildbot_incremental_linux
test=0
validation-test=0
long-test=1
test-optimized=0
[preset: buildbot_incremental_linux,llvm-only]
mixin-preset=buildbot_incremental_linux_base
build-subdir=buildbot_incremental_llvmonly
test=0
validation-test=0
long-test=0
test-optimized=0
dash-dash
skip-build-swift
skip-build-cmark
llvm-include-tests
#===------------------------------------------------------------------------===#
# OS X Package Builders
#===------------------------------------------------------------------------===#
[preset: mixin_osx_package_base]
ios
tvos
watchos
lldb
llbuild
swiftpm
playgroundlogger
playgroundsupport
# Build with debug info, this allows us to symbolicate crashes from
# production builds.
release-debuginfo
dash-dash
lldb-no-debugserver
lldb-use-system-debugserver
lldb-build-type=Release
verbose-build
build-ninja
build-swift-static-stdlib
build-swift-static-sdk-overlay
build-swift-stdlib-unittest-extra
compiler-vendor=apple
playgroundlogger-build-type=Release
playgroundsupport-build-type=Release
install-swift
install-lldb
install-llbuild
install-swiftpm
install-playgroundlogger
install-playgroundsupport
install-destdir=%(install_destdir)s
darwin-install-extract-symbols
# Path where debug symbols will be installed.
install-symroot=%(install_symroot)s
# Path where the compiler, the runtime and the standard libraries will be
# installed.
install-prefix=%(install_toolchain_dir)s/usr
# Executes the lit tests for the installable package that is created
# Assumes the swift-integration-tests repo is checked out
test-installable-package
# If someone uses this for incremental builds, force reconfiguration.
reconfigure
[preset: mixin_osx_package_test]
build-subdir=buildbot_osx
ios
tvos
watchos
test
validation-test
long-test
dash-dash
# Path to the .tar.gz package we would create.
installable-package=%(installable_package)s
[preset: buildbot_osx_package]
mixin-preset=
mixin_osx_package_base
mixin_osx_package_test
mixin_lightweight_assertions
dash-dash
swift-install-components=compiler;clang-builtin-headers;stdlib;sdk-overlay;license;sourcekit-xpc-service;swift-remote-mirror;swift-remote-mirror-headers
llvm-install-components=libclang;libclang-headers
# Path to the .tar.gz package we would create.
installable-package=%(installable_package)s
# Path to the .tar.gz symbols package
symbols-package=%(symbols_package)s
# Info.plist
darwin-toolchain-bundle-identifier=%(darwin_toolchain_bundle_identifier)s
darwin-toolchain-display-name=%(darwin_toolchain_display_name)s
darwin-toolchain-display-name-short=%(darwin_toolchain_display_name_short)s
darwin-toolchain-name=%(darwin_toolchain_xctoolchain_name)s
darwin-toolchain-version=%(darwin_toolchain_version)s
darwin-toolchain-alias=%(darwin_toolchain_alias)s
# Debug version of the compilers, release version of the stdlib.
[preset: buildbot_osx_package,tools=DA,stdlib=R]
mixin-preset=buildbot_osx_package
build-subdir=buildbot_osx_debug
release-debuginfo
assertions
debug-llvm
debug-swift
no-swift-stdlib-assertions
#===------------------------------------------------------------------------===#
# LLDB build configurations
#
# Use to build the compiler sources nested in LLDB.
#
# This is only used from Xcode, and expects the following configuration:
## an argument, swift_install_destdir=[path for Swift installed products]
## an environment variable, SWIFT_SOURCE_ROOT=[parent of swift/]
## an environment variable, SWIFT_BUILD_ROOT=[parent of Swift build directory]
#===------------------------------------------------------------------------===#
[preset: LLDB_Nested]
dash-dash
skip-build-benchmarks
install-destdir=%(swift_install_destdir)s
[preset: LLDB_Swift_DebugAssert]
mixin-preset=
LLDB_Nested
assertions
[preset: LLDB_Swift_ReleaseAssert]
mixin-preset=
LLDB_Nested
release-debuginfo
assertions
#===------------------------------------------------------------------------===#
# Test all platforms on OS X builder
#===------------------------------------------------------------------------===#
[preset: buildbot_all_platforms,tools=RA,stdlib=RA]
mixin-preset=buildbot_incremental_base_all_platforms
build-subdir=buildbot_incremental
# Build Release without debug info, because it is faster to build.
release
assertions
# Build llbuild & swiftpm here
llbuild
swiftpm
# Build Playground support
playgroundlogger
playgroundsupport
dash-dash
# Don't run host tests for iOS, tvOS and watchOS platforms to make the build
# faster.
skip-test-ios-host
skip-test-tvos-host
skip-test-watchos-host
#===------------------------------------------------------------------------===#
# Test watchOS on OS X builder
#===------------------------------------------------------------------------===#
[preset: buildbot_watch_platform,tools=RA,stdlib=RA]
mixin-preset=buildbot_incremental_base_all_platforms
build-subdir=buildbot_incremental
# Build Release without debug info, because it is faster to build.
release
assertions
# Build llbuild & swiftpm here
llbuild
swiftpm
dash-dash
# Only run watchOS tests
skip-test-ios
skip-test-tvos
skip-test-osx
#===------------------------------------------------------------------------===#
# Test swiftPM on macOS builder
#===------------------------------------------------------------------------===#
[preset: buildbot_swiftpm_macos_platform,tools=RA,stdlib=RA]
mixin-preset=buildbot_incremental_base
build-subdir=buildbot_incremental
# Build Release without debug info, because it is faster to build.
release
assertions
# Build llbuild & swiftpm here
llbuild
swiftpm
dash-dash
# Only run watchOS tests
skip-test-swift
#===------------------------------------------------------------------------===#
# Remote Mirror Library
#===------------------------------------------------------------------------===#
[preset: mixin_remote_mirror_base]
no-assertions
swift-assertions
dash-dash
build-ninja
release-debuginfo
reconfigure
compiler-vendor=apple
swift-install-components=swift-remote-mirror
install-destdir=%(install_destdir)s
install-symroot=%(install_symroot)s
darwin-install-extract-symbols=1
skip-build-cmark
skip-build-llvm
skip-build-llbuild
skip-build-swiftpm
skip-build-benchmarks
install-swift