Skip to content

Commit 66d92d4

Browse files
committed
[LLVM][Examples] Disable broken JIT + plugin tests (AIX, Sparc)
Plugins appear to be broken on AIX, CI fails. There is logic in CMakeLists for plugins+AIX, but it was never tested before... Note: when plugins work, also enable tests in Examples/IRTransforms. There's no Sparc support for JIT tests, so disable the JIT tests in the examples (copied from ExecutionEngine/lit.local.cfg).
1 parent 755a693 commit 66d92d4

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

llvm/test/Examples/Kaleidoscope/lit.local.cfg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@
22
# RISC-V fails due to unresolved softfp functions.
33
if not "X86" in config.root.targets or "riscv" in config.target_triple:
44
config.unsupported = True
5+
6+
if config.root.native_target in ['Sparc', 'Hexagon']:
7+
config.unsupported = True
8+
9+
# ExecutionEngine tests are not expected to pass in a cross-compilation setup.
10+
if "native" not in config.available_features:
11+
config.unsupported = True
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
# TODO: investigate
22
if not "X86" in config.root.targets:
33
config.unsupported = True
4+
5+
if config.root.native_target in ['Sparc', 'Hexagon']:
6+
config.unsupported = True
7+
8+
# ExecutionEngine tests are not expected to pass in a cross-compilation setup.
9+
if "native" not in config.available_features:
10+
config.unsupported = True

llvm/test/Feature/load_extension.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
; RUN: llvm-lto2 run %t.o %loadbye %loadnewpmbye -opt-pipeline="goodbye" -wave-goodbye -o %t -r %t.o,somefunk,plx -r %t.o,junk,plx 2>&1 | FileCheck %s
77
; REQUIRES: plugins, examples
88
; UNSUPPORTED: target={{.*windows.*}}
9+
; Plugins are currently broken on AIX, at least in the CI.
10+
; XFAIL: target={{.*}}-aix{{.*}}
911
; CHECK: Bye
1012

1113
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"

0 commit comments

Comments
 (0)