You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the windows build instructions to account for:
- the new module (WinSDK), the changes in the ICU configuration
- the need for Visual Studio 2017
- the dropped requirement for installing Python, CMake, Ninja as they are part of VS2017
- the fact that the release mode crasher has been fixed
- the fact that swift-corelibs-libdispatch is supported on Windows
- the changes in clang's flags due to updates to clang
1. Latest version (2015 Update 3 tested) of [Visual
38
-
Studio](https://www.visualstudio.com/downloads/)
26
+
1. Latest version of [Visual Studio](https://www.visualstudio.com/downloads/)
39
27
- Make sure to include "Programming Languages|Visual C++" and "Windows and Web
40
28
Development|Universal Windows App Development|Windows SDK" in your
41
29
installation.
42
-
- Make sure to add Python, CMake and Ninja to your `Path` environment variable
43
30
44
31
### 2. Clone the repositories
45
32
1. Create a folder to contain all the Swift repositories
@@ -48,6 +35,7 @@ Windows.
48
35
1. Clone `apple/swift-llvm` into a folder named `llvm`
49
36
1. Clone `apple/swift-compiler-rt` into a folder named `compiler-rt`
50
37
1. Clone `apple/swift` into a folder named `swift`
38
+
1. Clone `apple/swift-corelibs-libdispatch` into a folder named `swift-corelibs-libdispatch`
51
39
- Currently, other repositories in the Swift project have not been tested and
52
40
may not be supported.
53
41
@@ -89,11 +77,9 @@ set swift_source_dir=path-to-directory-containing-all-cloned-repositories
89
77
(`Debug`, `RelWithDebInfoAssert` or `Release`) to avoid conflicts between the debug and
90
78
non-debug version of the MSCRT library.
91
79
92
-
- Set up the `visualc` and `ucrt` modules by copying `ucrt.modulemap` located at
80
+
- Set up the `ucrt`, `visualc`, and `WinSDK` modules by copying `ucrt.modulemap` located at
93
81
`swift/stdlib/public/Platform/ucrt.modulemap` into
94
-
`${UniversalCRTSdkDir}/Include/${UCRTVersion}/ucrt` as `module.modulemap` and copying `visualc.modulemap` located at `swift/stdlib/public/Platform/visualc.modulemap` into `${VCToolsInstallDir}/include` as `module.modulemap`
95
-
96
-
82
+
`${UniversalCRTSdkDir}/Include/${UCRTVersion}/ucrt` as `module.modulemap`, copying `visualc.modulemap` located at `swift/stdlib/public/Platform/visualc.modulemap` into `${VCToolsInstallDir}/include` as `module.modulemap`, and copying `winsdk.modulemap` located at `swift/stdlib/public/Platform/winsdk.modulemap` into `${UniversalCRTSdkDir}/Include/10.0.107663/um`
97
83
98
84
### 5. Build CMark
99
85
- This must be done from within a developer command prompt. CMark is a fairly
@@ -143,7 +129,7 @@ set llvm_bin_dir="%swift_source_dir%/build/Ninja-DebugAssert/llvm-windows-amd64/
0 commit comments