Skip to content

Commit e958f05

Browse files
authored
docs: don't bother building compiler-rt on Windows
We do not currently use compiler-rt's functionality on Windows. Avoid the unnecessary build. This is intended to simplify the build instructions for Windows.
1 parent 8b9cc18 commit e958f05

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

docs/WindowsBuild.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,24 +106,19 @@ popd
106106
cmake --build "%swift_source_dir%/build/Ninja-DebugAssert/cmark-windows-amd64/"
107107
```
108108

109-
### 6. Build LLVM/Clang/Compiler-RT
109+
### 6. Build LLVM/Clang
110110
- This must be done from within a developer command prompt. LLVM and Clang are
111111
large projects, so building might take a few hours. Make sure that the build
112112
type (e.g. `Debug`, `Release`, `RelWithDebInfoAssert`) for LLVM/Clang matches the
113113
build type for Swift.
114-
- Optionally, you can omit building compiler-rt by removing all lines referring
115-
to `compiler-rt` below, which should give faster build times.
116114
```cmd
117-
mklink /J "%swift_source_dir%/llvm/tools/compiler-rt" "%swift_source_dir%/compiler-rt"
118115
mkdir "%swift_source_dir%/build/Ninja-DebugAssert/llvm-windows-amd64"
119116
pushd "%swift_source_dir%/build/Ninja-DebugAssert/llvm-windows-amd64"
120117
cmake -G "Ninja"^
121118
-DLLVM_ENABLE_ASSERTIONS=TRUE^
122119
-DCMAKE_BUILD_TYPE=Debug^
123120
-DLLVM_TOOL_SWIFT_BUILD=NO^
124121
-DLLVM_INCLUDE_DOCS=TRUE^
125-
-DLLVM_TOOL_COMPILER_RT_BUILD=TRUE^
126-
-DLLVM_BUILD_EXTERNAL_COMPILER_RT=TRUE^
127122
-DLLVM_ENABLE_PROJECTS=clang^
128123
-DLLVM_LIT_ARGS=-sv^
129124
-DLLVM_TARGETS_TO_BUILD=X86^

0 commit comments

Comments
 (0)