Skip to content

Commit 9a24aaf

Browse files
committed
[android] Disable a test that needs LTO support.
With Gold from the Android NDK setting up LTO is complicated, and the CI machines are not setup for it. Disable this test in platforms that do not use LLD and LTO (which is basically Android with older NDKs).
1 parent f8f40e0 commit 9a24aaf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/Interpreter/llvm_link_time_opt.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// UNSUPPORTED: OS=windows-msvc
22
// static library is not well supported yet on Windows
33

4+
// REQUIRES: lld_lto
5+
46
// RUN: %empty-directory(%t)
57
// RUN: %target-swiftc_driver -emit-library -static -lto=llvm-full -emit-module %S/Inputs/lto/module1.swift -working-directory %t
68
// RUN: %target-swiftc_driver -lto=llvm-full %s -I%t -L%t -lmodule1 -module-name main -o %t/main

0 commit comments

Comments
 (0)