-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.swift-build-presets
155 lines (119 loc) · 2.91 KB
/
.swift-build-presets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# ~/.swift-build-presets
#
# For Mac, incremental
#
[preset: buildbot_incremental_my]
# Note: same as buildbot_incremental except for building only for osx
mixin-preset=buildbot_incremental_base
build-subdir=buildbot_incremental
# Build Release without debug info, because it is faster to build.
release
assertions
# Build llbuild & swiftpm here
llbuild
swiftpm
# Build Playground support
# Note: skip playground support for now
#playgroundlogger
#playgroundsupport
dash-dash
#### WIP temporarily disable test
# Disable osx tests.
skip-test-osx
# Only run OS X tests to make the build cycle faster.
# We still build the iOS standard library though -- it is free given the
# parallelism.
skip-test-ios
skip-test-tvos
skip-test-watchos
#
# For Linux, incremental
#
[preset: buildbot_incremental_linux_base_my]
assertions
release
#### WIP temporarily disable test
####test
####validation-test
lit-args=-v
dash-dash
build-ninja
reconfigure
# Note: As of 2016.11.28, incremental build on Linux cannot be used for compiling swift programs which import Foundation (that requires Dispatch).
#[preset: buildbot_incremental_linux_my]
[preset: DISABLE_FOR_NOW]
mixin-preset=buildbot_incremental_linux_base_my
build-subdir=buildbot_incremental
llbuild
swiftpm
xctest
foundation
libdispatch
dash-dash
#
# For Linux, install
#
[preset: mixin_linux_installation_my]
# Note: needed only for slightly old our internal codebase where lldb doesn't compile
mixin-preset=mixin_lightweight_assertions
llbuild
swiftpm
xctest
dash-dash
build-ninja
install-swift
install-lldb
install-llbuild
install-swiftpm
install-xctest
install-prefix=/usr
swift-install-components=autolink-driver;compiler;clang-builtin-headers;stdlib;swift-remote-mirror;sdk-overlay;license;sourcekit-inproc
build-swift-static-stdlib
build-swift-static-sdk-overlay
build-swift-stdlib-unittest-extra
# Executes the lit tests for the installable package that is created
# Assumes the swift-integration-tests repo is checked out
#### WIP temporarily disable test
####test-installable-package
# Path to the root of the installation filesystem.
install-destdir=%(install_destdir)s
# Path to the .tar.gz package we would create.
installable-package=%(installable_package)s
[preset: buildbot_linux_my]
mixin-preset=mixin_linux_installation_my
build-subdir=buildbot_linux
lldb
release
#### WIP temporarily disable test
####test
####validation-test
####long-test
foundation
libdispatch
lit-args=-v
dash-dash
# rdar://problem/31454823
skip-test-lldb
install-foundation
install-libdispatch
reconfigure
[preset: buildbot_linux_nonatomic_my]
mixin-preset=mixin_linux_installation_my
build-subdir=buildbot_linux
lldb
release
#### WIP temporarily disable test
####test
####validation-test
####long-test
foundation
libdispatch
lit-args=-v
dash-dash
# rdar://problem/31454823
skip-test-lldb
install-foundation
install-libdispatch
reconfigure
# Enable non-atomic build of the stdlib
swift-stdlib-use-nonatomic-rc=true