mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Currently we only support building for android armv7, arm64, x86, x86_64. In the future, if support for MIPS and MIPS64 is added, we should normalise those as well. This is needed to support compilation against modern NDKs.
11 lines
737 B
Swift
11 lines
737 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %swift_driver_plain --driver-mode=swiftc -target armv7-none-linux-androideabihf -emit-executable %s -### 2>&1 | %FileCheck %s -check-prefix CHECK-ARMv7
|
|
// CHECK-ARMv7: clang{{(.exe)?"?}} -target armv7-unknown-linux-androideabi
|
|
|
|
// RUN: %swift_driver_plain --driver-mode=swiftc -target aarch64-mone-linux-androideabi -emit-executable %s -### 2>&1 | %FileCheck %s -check-prefix CHECK-ARM64
|
|
// CHECK-ARM64: clang{{(.exe)?"?}} -target aarch64-unknown-linux-android
|
|
|
|
// RUN: %swift_driver_plain --driver-mode=swiftc -target x86_64-none-linux-androideabi -emit-executable %s -### 2>&1 | %FileCheck %s -check-prefix CHECK-X64
|
|
// CHECK-X64: clang{{(.exe)?"?}} -target x86_64-unknown-linux-android
|
|
|