@@ -141,27 +141,26 @@ more environments.
141
141
142
142
To build using Ninja, run:
143
143
144
- cd swift
145
- utils/build-script --release-debuginfo
144
+ swift/utils/build-script --release-debuginfo
146
145
147
146
When developing Swift, it helps to build what you're working on in a debug
148
147
configuration while building the rest of the project with optimizations. Below
149
148
are some examples of using debug variants:
150
149
151
- utils/build-script --release-debuginfo --debug-swift # Swift frontend built in debug
152
- utils/build-script --release-debuginfo --debug-swift-stdlib # Standard library built in debug
153
- utils/build-script --release-debuginfo --debug-swift --force-optimized-typechecker # Swift frontend sans type checker built in debug
150
+ swift/ utils/build-script --release-debuginfo --debug-swift # Swift frontend built in debug
151
+ swift/ utils/build-script --release-debuginfo --debug-swift-stdlib # Standard library built in debug
152
+ swift/ utils/build-script --release-debuginfo --debug-swift --force-optimized-typechecker # Swift frontend sans type checker built in debug
154
153
155
154
Limiting the amount of debug code in the compiler has a very large impact on
156
155
Swift compile times, and in turn the test execution time. If you want to build
157
156
the entire project in debug, you can run:
158
157
159
- utils/build-script --debug
158
+ swift/ utils/build-script --debug
160
159
161
160
For documentation of all available arguments, as well as additional usage
162
161
information, see the inline help:
163
162
164
- utils/build-script -h
163
+ swift/ utils/build-script -h
165
164
166
165
#### Xcode
167
166
@@ -224,7 +223,7 @@ script is used by swift.org's CI to produce snapshots and can allow for one to
224
223
locally reproduce such builds for development or distribution purposes. E.x.:
225
224
226
225
```
227
- $ ./utils/build-toolchain $BUNDLE_PREFIX
226
+ $ ./swift/ utils/build-toolchain $BUNDLE_PREFIX
228
227
```
229
228
230
229
where `` $BUNDLE_PREFIX `` is a string that will be prepended to the build
0 commit comments