Skip to content

Commit 9a257a7

Browse files
authored
Merge pull request #25197 from srcmake/doc/readme-swift-directory
2 parents 52a0975 + bf6a97c commit 9a257a7

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -141,27 +141,26 @@ more environments.
141141

142142
To build using Ninja, run:
143143

144-
cd swift
145-
utils/build-script --release-debuginfo
144+
swift/utils/build-script --release-debuginfo
146145

147146
When developing Swift, it helps to build what you're working on in a debug
148147
configuration while building the rest of the project with optimizations. Below
149148
are some examples of using debug variants:
150149

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
154153

155154
Limiting the amount of debug code in the compiler has a very large impact on
156155
Swift compile times, and in turn the test execution time. If you want to build
157156
the entire project in debug, you can run:
158157

159-
utils/build-script --debug
158+
swift/utils/build-script --debug
160159

161160
For documentation of all available arguments, as well as additional usage
162161
information, see the inline help:
163162

164-
utils/build-script -h
163+
swift/utils/build-script -h
165164

166165
#### Xcode
167166

@@ -224,7 +223,7 @@ script is used by swift.org's CI to produce snapshots and can allow for one to
224223
locally reproduce such builds for development or distribution purposes. E.x.:
225224

226225
```
227-
$ ./utils/build-toolchain $BUNDLE_PREFIX
226+
$ ./swift/utils/build-toolchain $BUNDLE_PREFIX
228227
```
229228

230229
where ``$BUNDLE_PREFIX`` is a string that will be prepended to the build

0 commit comments

Comments
 (0)