Skip to content

Commit e23d96d

Browse files
committed
Adding stage-0 toolchain build preset
This is a preset for building a stage-0 compiler toolchain that doesn't require an existing Swift installation. The resulting compiler should not be used outside of bringing up a stage-1 compiler, which in turn should build a stage 2 compiler. That stage 2 compiler should run and test cleanly. The stage-0 compiler will definitely fail its tests, and the stage-1 compiler may or may not depending on the weather. The stage-2 compiler is the compiler toolchain that should be shippable.
1 parent bcd73b0 commit e23d96d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

utils/build-presets.ini

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,6 +1003,23 @@ skip-build-benchmarks
10031003

10041004
reconfigure
10051005

1006+
[preset: buildbot_linux,no_test,stage0]
1007+
build-subdir=buildbot_linux/stage0
1008+
install-destdir=%(install_destdir)s
1009+
skip-build-benchmarks
1010+
skip-test-cmark
1011+
skip-early-swift-driver
1012+
skip-early-swiftsyntax
1013+
bootstrapping=off
1014+
llvm-targets-to-build=X86;ARM;AArch64
1015+
libdispatch
1016+
foundation
1017+
swiftpm
1018+
xctest
1019+
llbuild
1020+
swift-driver
1021+
install-all
1022+
10061023
[preset: buildbot_linux_crosscompile_android,tools=RA,stdlib=RD,build,aarch64]
10071024
mixin-preset=buildbot_linux_crosscompile_android,tools=RA,stdlib=RD,build
10081025

0 commit comments

Comments
 (0)