mirror of
https://github.com/apple/swift-nio
synced 2026-11-29 05:24:21 +00:00
Pin to the native build system to unblock us
This commit is contained in:
1 file changed
+4
-1
@@ -34,4 +34,7 @@ if [[ -z "$SWIFT_SDK" ]]; then
|
||||
fi
|
||||
|
||||
log "Building using Swift SDK: $SWIFT_SDK (triple: $android_sdk_triple)"
|
||||
swift build --swift-sdk "$SWIFT_SDK" --triple "$android_sdk_triple" --swift-sdks-path "$swift_sdk_directory" --static-swift-stdlib "${@}"
|
||||
# Pin the native build system: SwiftPM now defaults to swiftbuild, whose Android
|
||||
# support expects a locally installed NDK found via ANDROID_NDK_ROOT/ANDROID_NDK_HOME
|
||||
# rather than the one the Swift SDK links into its sysroot.
|
||||
swift build --build-system native --swift-sdk "$SWIFT_SDK" --triple "$android_sdk_triple" --swift-sdks-path "$swift_sdk_directory" --static-swift-stdlib "${@}"
|
||||
Reference in new issue
Block a user