Skip to content

Commit 68541b2

Browse files
committed
Add a build preset to build a minimal toolchain without a host Swift compiler
Create a new build present that builds without a host Swift compiler, which is meant to be sufficient to bootstrap a full Swift toolchain on a new host.
1 parent ac11388 commit 68541b2

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

utils/build-presets.ini

+24
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,30 @@ installable-package=%(installable_package)s
890890
# in Linux CI bots
891891
relocate-xdg-cache-home-under-build-subdir
892892

893+
[preset: minimal_toolchain_without_host_swift]
894+
swift-install-components=autolink-driver;compiler;clang-resource-dir-symlink;libexec;stdlib;sdk-overlay;toolchain-tools;license
895+
llvm-install-components=llvm-ar;llvm-ranlib;llvm-cov;llvm-profdata;IndexStore;clang;clang-resource-headers;compiler-rt;clangd;lld;LTO;clang-features-file
896+
897+
release
898+
minimal-cxx-bootstrap
899+
900+
llbuild
901+
swiftpm
902+
swift-driver
903+
904+
build-ninja
905+
install-llvm
906+
install-swift
907+
install-llbuild
908+
install-swiftpm
909+
install-swift-driver
910+
install-prefix=/usr
911+
install-destdir=%(install_destdir)s
912+
relocate-xdg-cache-home-under-build-subdir
913+
914+
skip-build-benchmarks
915+
skip-early-swift-driver
916+
skip-build-lldb
893917

894918
[preset: buildbot_linux_base]
895919
mixin-preset=

0 commit comments

Comments
 (0)