@@ -38,7 +38,7 @@ Additionally, the ICU headers and libraries need to be provided for the build.
38
38
--extra-cmake-options=-DSWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER=FALSE,\
39
39
-DCMAKE_AR=< path to llvm-ar> ,\
40
40
-DCMAKE_RANLIB=< path to llvm-ranlib> ,\
41
- -DSWIFT_SDKS=WINDOWS,\
41
+ -DSWIFT_SDKS=' OSX; WINDOWS' ,\
42
42
-DSWIFT_WINDOWS_x86_64_ICU_I18N_INCLUDE=< path to ICU i18n includes> ,\
43
43
-DSWIFT_WINDOWS_x86_64_ICU_UC_INCLUDE=< path to ICU UC includes> ,\
44
44
-DSWIFT_WINDOWS_x86_64_ICU_I18N=< path to ICU i18n lib> ,\
@@ -47,19 +47,8 @@ Additionally, the ICU headers and libraries need to be provided for the build.
47
47
48
48
#### Linux
49
49
50
- For Linux, you will also need to build the Linux SDK with the cmake options
51
- below.
52
-
53
- ``` bash
54
- --extra-cmake-options=-DSWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER=FALSE,\
55
- -DCMAKE_AR=< path to llvm-ar> ,\
56
- -DCMAKE_RANLIB=< path to llvm-ranlib> ,\
57
- -DSWIFT_SDKS=' LINUX;WINDOWS' ,\
58
- -DSWIFT_WINDOWS_x86_64_ICU_I18N_INCLUDE=< path to ICU i18n includes> ,\
59
- -DSWIFT_WINDOWS_x86_64_ICU_UC_INCLUDE=< path to ICU UC includes> ,\
60
- -DSWIFT_WINDOWS_x86_64_ICU_I18N=< path to ICU i18n lib> ,\
61
- -DSWIFT_WINDOWS_x86_64_ICU_UC=< path to ICU UC lib>
62
- ```
50
+ For Linux, you will need to build the Linux SDK instead of the macOS SDK by
51
+ replacing the cmake option with ` -DSWIFT_SDKS='LINUX;WINDOWS' ` .
63
52
64
53
## 4. Build the Swift runtime and standard library with ` ninja `
65
54
From the build directory, you can build the Swift runtime and standard library
0 commit comments