Skip to content

Commit ae862f3

Browse files
authored
Merge pull request swiftlang#22522 from xiaobai/patch-2
2 parents b2e8090 + 7c32746 commit ae862f3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/WindowsBuild.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,9 @@ cmake --build "S:\b\cmark"
120120
### 6. Build LLVM/Clang
121121
- This must be done from within a developer command prompt. LLVM and Clang are
122122
large projects, so building might take a few hours. Make sure that the build
123-
type (e.g. `Debug`, `Release`, `RelWithDebInfoAssert`) for LLVM/Clang matches the
124-
build type for Swift.
123+
type for LLVM/Clang is compatbile with the build type for Swift. That is,
124+
either build everything `Debug` or some variant of `Release` (e.g. `Release`,
125+
`RelWithDebInfo`).
125126
```cmd
126127
mkdir "S:\b\llvm"
127128
pushd "S:\b\llvm"
@@ -199,10 +200,8 @@ pushd "S:\b\lldb"
199200
cmake -G Ninja^
200201
-DCMAKE_BUILD_TYPE=RelWithDebInfo^
201202
-DLLDB_ALLOW_STATIC_BINDINGS=YES^
202-
-DLLDB_PATH_TO_LLVM_SOURCE="S:\llvm"^
203203
-DLLDB_PATH_TO_CLANG_SOURCE="S:\clang"^
204204
-DLLDB_PATH_TO_SWIFT_SOURCE="S:\swift"^
205-
-DLLDB_PATH_TO_CMARK_BUILD="S:\b\cmark"^
206205
-DLLDB_PATH_TO_CLANG_BUILD="S:\b\llvm"^
207206
-DLLDB_PATH_TO_LLVM_BUILD="S:\b\llvm"^
208207
-DLLDB_PATH_TO_SWIFT_BUILD="S:\b\swift"^

0 commit comments

Comments
 (0)