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
SwiftDriver: initial work to properly handle android cross-compilation
The intent here is to permit the Windows/macOS style cross-compilation
for Android. This involves passing `-sdk` with the path to the "Swift
SDK" which overlays the system's native SDK (NDK). The
`ANDROID_NDK_ROOT` is a well-defined environment variable (setup by the
SDK installer as well as a general expectation for Android development)
that identifies the root of the installation of the NDK. This allows us
to locate the native SDK root (`--sysroot`) for driving the linker
driver amongst other paths.
Copy file name to clipboardExpand all lines: Sources/SwiftOptions/Options.swift
+2
Original file line number
Diff line number
Diff line change
@@ -788,6 +788,7 @@ extension Option {
788
788
publicstaticletswiftVersion:Option=Option("-swift-version",.separate, attributes:[.frontend,.moduleInterface], metaVar:"<vers>", helpText:"Interpret input according to a specific Swift language version number")
publicstaticletsymbolGraphMinimumAccessLevel:Option=Option("-symbol-graph-minimum-access-level",.separate, attributes:[.helpHidden,.frontend,.noInteractive,.supplementaryOutput], metaVar:"<level>", helpText:"Include symbols with this access level or more when emitting a symbol graph")
publicstaticlettabWidth:Option=Option("-tab-width",.separate, attributes:[.noInteractive,.noBatch,.indent], metaVar:"<n>", helpText:"Width of tab character.", group:.codeFormatting)
793
794
publicstaticlettargetCpu:Option=Option("-target-cpu",.separate, attributes:[.frontend,.moduleInterface], helpText:"Generate code for a particular CPU variant")
0 commit comments