Skip to content

Update WindowsBuild.md #27649

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions docs/WindowsBuild.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ mklink "%VCToolsInstallDir%\include\visualc.apinotes" S:\swift\stdlib\public\Pla
Warning: Creating the above links usually requires administrator privileges. The quick and easy way to do this is to open a second developer prompt by right clicking whatever shortcut you used to open the first one, choosing Run As Administrator, and pasting the above commands into the resulting window. You can then close the privileged prompt; this is the only step which requires elevation.

## 6. Build LLVM/Clang
- This must be done from within a developer command prompt. LLVM and Clang are
large projects, so building might take a few hours. Make sure that the build
- This must be done from within a developer command prompt. Make sure that the build
type for LLVM/Clang is compatible with the build type for Swift. That is,
either build everything `Debug` or some variant of `Release` (e.g. `Release`,
`RelWithDebInfo`).
Expand All @@ -126,8 +125,8 @@ ninja
path S:\b\llvm\bin;%PATH%
```
## 7. Build CMark
- This must be done from within a developer command prompt. CMark is a fairly
small project and should only take a few minutes to build.
- This must be done from within a developer command prompt.

```cmd
md "S:\b\cmark"
cd "S:\b\cmark"
Expand Down Expand Up @@ -180,8 +179,8 @@ cmake -G "Visual Studio 2017" -A x64 -T "host=x64"^ ...
```

## 9. Build lldb
- This must be done from within a developer command prompt and could take hours
depending on your system.
- This must be done from within a developer command prompt.

```cmd
md "S:\b\lldb"
cd "S:\b\lldb"
Expand Down