Skip to content

Commit 3cca99d

Browse files
committed
[WindowsBuild] Drop minimal build instruction
1 parent 35764a3 commit 3cca99d

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

docs/WindowsBuild.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -88,34 +88,6 @@ mklink "%VCToolsInstallDir%\include\visualc.apinotes" S:\swift\stdlib\public\Pla
8888

8989
> **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 "More > 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.
9090
91-
## Build a minimal Swift toolchain
92-
93-
A minimal Swift toolchain does not include optional features or SwiftPM stuffs, and may be useful for playing with the compiler or language itself.
94-
95-
```cmd
96-
cmake -B S:\b\1 ^
97-
-C S:\swift\cmake\caches\Windows-x86_64.cmake ^
98-
-D CMAKE_BUILD_TYPE=Release ^
99-
-D CMAKE_INSTALL_PREFIX=C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr ^
100-
-D CMAKE_C_COMPILER=cl.exe ^
101-
-D CMAKE_C_FLAGS="/GS- /Oy /Gw /Gy /source-charset:utf-8 /execution-charset:utf-8" ^
102-
-D CMAKE_CXX_COMPILER=cl.exe ^
103-
-D CMAKE_CXX_FLAGS="/GS- /Oy /Gw /Gy /utf-8" ^
104-
-D CMAKE_MT=mt ^
105-
-D CMAKE_EXE_LINKER_FLAGS="/INCREMENTAL:NO" ^
106-
-D CMAKE_SHARED_LINKER_FLAGS="/INCREMENTAL:NO" ^
107-
-D LLVM_DEFAULT_TARGET_TRIPLE=x86_64-unknown-windows-msvc ^
108-
-D LLVM_APPEND_VC_REV=NO ^
109-
-D LLVM_EXTERNAL_CMARK_SOURCE_DIR=S:\cmark ^
110-
-D LLVM_EXTERNAL_SWIFT_SOURCE_DIR=S:\swift ^
111-
-D SWIFT_PATH_TO_LIBDISPATCH_SOURCE=S:\swift-corelibs-libdispatch ^
112-
-G Ninja ^
113-
-S S:\llvm-project\llvm
114-
115-
cmake --build S:\b\1
116-
cmake --build S:\b\1 --target install
117-
```
118-
11991
## Build for development
12092

12193
The following guide will get you through the building process of a complete Swift debug toolchain.

0 commit comments

Comments
 (0)