File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ set (SWIFT_HOST_VARIANT_SDK ANDROID CACHE STRING "" )
3
+ set (SWIFT_HOST_VARIANT_ARCH i686 CACHE STRING "" )
4
+
5
+ # NOTE(compnerd) disable the tools, we are trying to build just the standard
6
+ # library.
7
+ set (SWIFT_INCLUDE_TOOLS NO CACHE BOOL "" )
8
+
9
+ # NOTE(compnerd) cannot build tests since the tests require the toolchain
10
+ set (SWIFT_INCLUDE_TESTS NO CACHE BOOL "" )
11
+
12
+ # NOTE(compnerd) cannot build docs since that requires perl
13
+ set (SWIFT_INCLUDE_DOCS NO CACHE BOOL "" )
14
+
15
+ # NOTE(compnerd) these are part of the toolchain, not the runtime.
16
+ set (SWIFT_BUILD_SOURCEKIT NO CACHE BOOL "" )
17
+
18
+ # NOTE(compnerd) build with the compiler specified, not a just built compiler.
19
+ set (SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER YES CACHE BOOL "" )
20
+
21
+ set (SWIFT_SDK_ANDROID_ARCHITECTURES i686 CACHE STRING "" )
22
+
23
+ # NOTE(compnerd) this is lollipop, which seems to still have decent usage.
24
+ set (SWIFT_ANDROID_API_LEVEL 21 CACHE STRING "" )
Original file line number Diff line number Diff line change
1
+
2
+ set (SWIFT_HOST_VARIANT_SDK ANDROID CACHE STRING "" )
3
+ set (SWIFT_HOST_VARIANT_ARCH x86_64 CACHE STRING "" )
4
+
5
+ # NOTE(compnerd) disable the tools, we are trying to build just the standard
6
+ # library.
7
+ set (SWIFT_INCLUDE_TOOLS NO CACHE BOOL "" )
8
+
9
+ # NOTE(compnerd) cannot build tests since the tests require the toolchain
10
+ set (SWIFT_INCLUDE_TESTS NO CACHE BOOL "" )
11
+
12
+ # NOTE(compnerd) cannot build docs since that requires perl
13
+ set (SWIFT_INCLUDE_DOCS NO CACHE BOOL "" )
14
+
15
+ # NOTE(compnerd) these are part of the toolchain, not the runtime.
16
+ set (SWIFT_BUILD_SOURCEKIT NO CACHE BOOL "" )
17
+
18
+ # NOTE(compnerd) build with the compiler specified, not a just built compiler.
19
+ set (SWIFT_BUILD_RUNTIME_WITH_HOST_COMPILER YES CACHE BOOL "" )
20
+
21
+ set (SWIFT_SDK_ANDROID_ARCHITECTURES x86_64 CACHE STRING "" )
22
+
23
+ # NOTE(compnerd) this is lollipop, which seems to still have decent usage.
24
+ set (SWIFT_ANDROID_API_LEVEL 21 CACHE STRING "" )
You can’t perform that action at this time.
0 commit comments