@@ -155,26 +155,26 @@ First, make sure that you're in the swift directory:
155
155
156
156
To build using Ninja, run:
157
157
158
- swift/ utils/build-script --release-debuginfo
158
+ utils/build-script --release-debuginfo
159
159
160
160
When developing Swift, it helps to build what you're working on in a debug
161
161
configuration while building the rest of the project with optimizations. Below
162
162
are some examples of using debug variants:
163
163
164
- swift/ utils/build-script --release-debuginfo --debug-swift # Swift frontend built in debug
165
- swift/ utils/build-script --release-debuginfo --debug-swift-stdlib # Standard library built in debug
166
- swift/ utils/build-script --release-debuginfo --debug-swift --force-optimized-typechecker # Swift frontend sans type checker built in debug
164
+ utils/build-script --release-debuginfo --debug-swift # Swift frontend built in debug
165
+ utils/build-script --release-debuginfo --debug-swift-stdlib # Standard library built in debug
166
+ utils/build-script --release-debuginfo --debug-swift --force-optimized-typechecker # Swift frontend sans type checker built in debug
167
167
168
168
Limiting the amount of debug code in the compiler has a very large impact on
169
169
Swift compile times, and in turn the test execution time. If you want to build
170
170
the entire project in debug, you can run:
171
171
172
- swift/ utils/build-script --debug
172
+ utils/build-script --debug
173
173
174
174
For documentation of all available arguments, as well as additional usage
175
175
information, see the inline help:
176
176
177
- swift/ utils/build-script -h
177
+ utils/build-script -h
178
178
179
179
#### Xcode
180
180
0 commit comments