Skip to content

Commit 8b7b2b3

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

File tree

1 file changed

+117
-8
lines changed

1 file changed

+117
-8
lines changed

swift-build-presets

Lines changed: 117 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,127 @@ 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;stdlib
42+
llvm-install-components=clang;clang-resource-headers;compiler-rt;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+
# This ensures the default module cache
82+
# ___location is local to this run, allowing
83+
# to schedule multiple builds safely
84+
# in Linux CI bots
85+
# relocate-xdg-cache-home-under-build-subdir
86+
87+
88+
[preset: buildbot_linux_base]
89+
mixin-preset=
90+
mixin_linux_installation
91+
build-subdir=buildbot_linux
92+
lldb
93+
release
94+
# test
95+
# validation-test
96+
# long-test
97+
# stress-test
98+
# test-optimized
3999
foundation
40100
libdispatch
41-
swiftpm
101+
indexstore-db
102+
sourcekit-lsp
103+
swiftdocc
104+
# lit-args=-v --time-tests
105+
106+
# rdar://problem/31454823
107+
# lldb-test-swift-only
108+
42109
install-foundation
43110
install-libdispatch
44-
install-swiftpm
45-
llvm-install-components=clang;clang-resource-headers;compiler-rt
46-
install-llvm
47-
xctest
111+
reconfigure
112+
113+
[preset: buildbot_linux]
114+
mixin-preset=
115+
mixin_lightweight_assertions,no-stdlib-asserts
116+
buildbot_linux_base
117+
118+
[preset: buildbot_linux,no_assertions]
119+
mixin-preset=buildbot_linux_base
120+
121+
no-assertions
122+
123+
124+
[preset: mixin_buildbot_linux,no_test]
125+
skip-test-cmark
126+
skip-test-lldb
127+
skip-test-swift
128+
skip-test-llbuild
129+
skip-test-swiftpm
130+
skip-test-swift-driver
131+
skip-test-xctest
132+
skip-test-foundation
133+
skip-test-libdispatch
134+
skip-test-playgroundsupport
135+
skip-test-libicu
136+
skip-test-indexstore-db
137+
skip-test-sourcekit-lsp
138+
skip-test-swiftdocc
139+
140+
# Linux package with out test
141+
[preset: buildbot_linux,no_test]
142+
mixin-preset=
143+
buildbot_linux
144+
mixin_buildbot_linux,no_test
145+
146+
147+
[preset: buildbot_linux,no_assertions,no_test]
148+
mixin-preset=
149+
buildbot_linux,no_assertions
150+
mixin_buildbot_linux,no_test
151+
152+
[preset: codeql-Linux]
153+
mixin-preset=
154+
buildbot_linux,no_assertions,no_test
155+
codeql-release
156+
bootstrapping=bootstrapping
48157

49158
[preset: codeql-macOS]
50159
mixin-preset=codeql-release

0 commit comments

Comments
 (0)