Skip to content

Commit 323b37c

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. (cherry picked from commit 4130bca)
1 parent b516dba commit 323b37c

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

0 commit comments

Comments
 (0)