From 6bdfcb165e66a3f59fcf8e51ea0f2ecc0e3a32d5 Mon Sep 17 00:00:00 2001 From: Jinsong Ji Date: Thu, 6 May 2021 02:38:31 +0000 Subject: [PATCH] [BPF][Test] Disable codegen test on AIX https://reviews.llvm.org/D101194 changed the default getMultiarchTriple in toolchain. So -march=bpf on AIX will get triple of bpf-ibm-aix now, this is unexpected and causing test failures. BPF on AIX is not supported (yet), disable the codegen test on AIX in lit cfg. Reviewed By: yonghong-song Differential Revision: https://reviews.llvm.org/D101866 --- llvm/test/CodeGen/BPF/lit.local.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/test/CodeGen/BPF/lit.local.cfg b/llvm/test/CodeGen/BPF/lit.local.cfg index a4ab262..36a7067 100644 --- a/llvm/test/CodeGen/BPF/lit.local.cfg +++ b/llvm/test/CodeGen/BPF/lit.local.cfg @@ -1,2 +1,4 @@ if not 'BPF' in config.root.targets: config.unsupported = True +if 'system-aix' in config.available_features: + config.unsupported = True -- 2.7.4