Skip to content

Commit d9ef030

Browse files
committed
Pull in most of the upstream Linux preset
1 parent 1530049 commit d9ef030

File tree

1 file changed

+123
-8
lines changed

1 file changed

+123
-8
lines changed

swift-build-presets

Lines changed: 123 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,133 @@ mixin-preset=codeql-baseline
3333
release
3434
build-subdir=codeql
3535

36-
[preset: codeql-Linux]
37-
mixin-preset=codeql-release
38-
bootstrapping=hosttools
36+
#===------------------------------------------------------------------------===#
37+
# Linux Builders
38+
#===------------------------------------------------------------------------===#
39+
[preset: mixin_linux_install_components_with_clang]
40+
41+
swift-install-components=autolink-driver;compiler;clang-resource-dir-symlink;libexec;stdlib;swift-remote-mirror;sdk-overlay;static-mirror-lib;toolchain-tools;license;sourcekit-inproc
42+
llvm-install-components=llvm-ar;llvm-cov;llvm-profdata;IndexStore;clang;clang-resource-headers;compiler-rt;clangd;lld;LTO;clang-features-file
43+
44+
[preset: mixin_linux_installation]
45+
mixin-preset=
46+
mixin_linux_install_components_with_clang
47+
48+
llbuild
49+
swiftpm
50+
swift-driver
51+
xctest
52+
libicu
53+
# swiftdocc
54+
55+
# build-ninja
56+
install-llvm
57+
install-swift
58+
install-lldb
59+
install-llbuild
60+
install-swiftpm
61+
install-swift-driver
62+
install-swiftsyntax
63+
install-xctest
64+
install-libicu
65+
install-prefix=/usr
66+
install-sourcekit-lsp
67+
# install-swiftformat
68+
# install-swiftdocc
69+
# build-swift-static-stdlib
70+
# build-swift-static-sdk-overlay
71+
# build-swift-stdlib-unittest-extra
72+
73+
# Executes the lit tests for the installable package that is created
74+
# Assumes the swift-integration-tests repo is checked out
75+
76+
# test-installable-package
77+
78+
# Build the benchmarks against the toolchain.
79+
# toolchain-benchmarks
80+
81+
# Path to the root of the installation filesystem.
82+
# install-destdir=%(install_destdir)s
83+
84+
# Path to the .tar.gz package we would create.
85+
# installable-package=%(installable_package)s
86+
87+
# This ensures the default module cache
88+
# ___location is local to this run, allowing
89+
# to schedule multiple builds safely
90+
# in Linux CI bots
91+
# relocate-xdg-cache-home-under-build-subdir
92+
93+
94+
[preset: buildbot_linux_base]
95+
mixin-preset=
96+
mixin_linux_installation
97+
build-subdir=buildbot_linux
98+
lldb
99+
release
100+
# test
101+
# validation-test
102+
# long-test
103+
# stress-test
104+
# test-optimized
39105
foundation
40106
libdispatch
41-
swiftpm
107+
indexstore-db
108+
sourcekit-lsp
109+
swiftdocc
110+
# lit-args=-v --time-tests
111+
112+
# rdar://problem/31454823
113+
# lldb-test-swift-only
114+
42115
install-foundation
43116
install-libdispatch
44-
install-swiftpm
45-
llvm-install-components=clang;clang-resource-headers;compiler-rt
46-
install-llvm
47-
xctest
117+
reconfigure
118+
119+
[preset: buildbot_linux]
120+
mixin-preset=
121+
mixin_lightweight_assertions,no-stdlib-asserts
122+
buildbot_linux_base
123+
124+
[preset: buildbot_linux,no_assertions]
125+
mixin-preset=buildbot_linux_base
126+
127+
no-assertions
128+
129+
130+
[preset: mixin_buildbot_linux,no_test]
131+
skip-test-cmark
132+
skip-test-lldb
133+
skip-test-swift
134+
skip-test-llbuild
135+
skip-test-swiftpm
136+
skip-test-swift-driver
137+
skip-test-xctest
138+
skip-test-foundation
139+
skip-test-libdispatch
140+
skip-test-playgroundsupport
141+
skip-test-libicu
142+
skip-test-indexstore-db
143+
skip-test-sourcekit-lsp
144+
skip-test-swiftdocc
145+
146+
# Linux package with out test
147+
[preset: buildbot_linux,no_test]
148+
mixin-preset=
149+
buildbot_linux
150+
mixin_buildbot_linux,no_test
151+
152+
153+
[preset: buildbot_linux,no_assertions,no_test]
154+
mixin-preset=
155+
buildbot_linux,no_assertions
156+
mixin_buildbot_linux,no_test
157+
158+
[preset: codeql-Linux]
159+
mixin-preset=
160+
buildbot_linux,no_assertions,no_test
161+
codeql-release
162+
bootstrapping=bootstrapping
48163

49164
[preset: codeql-macOS]
50165
mixin-preset=codeql-release

0 commit comments

Comments
 (0)