Skip to content

Commit 4130bca

Browse files
committed
Bootstrap: Stage 2 preset
Adding a stage-2 preset. This preset adds SwiftPM and XCTest to the built products. The stage-1 preset could likely build all of the product, but because the stage-1 compiler was built without several optimizations available in the stage-0 compiler, this compiler will not be as performant as a separate stage-2 compiler.
1 parent 838d69f commit 4130bca

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

utils/build-presets.ini

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3196,3 +3196,39 @@ install-llvm
31963196
install-swift
31973197
install-foundation
31983198
install-libdispatch
3199+
3200+
[preset: bootstrap_stage2]
3201+
mixin-preset=mixin_buildbot_linux,no_test
3202+
bootstrapping=hosttools
3203+
3204+
release
3205+
3206+
skip-early-swift-driver
3207+
3208+
llbuild
3209+
xctest
3210+
swiftpm
3211+
3212+
swift-include-tests=0
3213+
llvm-include-tests=0
3214+
3215+
3216+
foundation
3217+
libdispatch
3218+
3219+
skip-build-benchmarks
3220+
skip-test-cmark
3221+
3222+
build-subdir=%(build_subdir)s
3223+
install-destdir=%(install_destdir)s
3224+
3225+
swift-install-components=autolink-driver;compiler;clang-resource-dir-symlink;stdlib;sdk-overlay;toolchain-tools;license
3226+
llvm-install-components=llvm-ar;llvm-ranlib;clang;clang-resource-headers;compiler-rt;clang-features-file;lld
3227+
3228+
install-llvm
3229+
install-swift
3230+
install-foundation
3231+
install-libdispatch
3232+
install-llbuild
3233+
install-swiftpm
3234+
install-xctest

0 commit comments

Comments
 (0)