Skip to content

Commit

Permalink
lkt: powerpc: Disable OpenSUSE build if necessary
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
  • Loading branch information
nathanchance committed Sep 16, 2024
1 parent 287dc65 commit 89596c3
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions lkt/powerpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,14 +258,19 @@ def _add_distroconfig_runners(self):
('opensuse', 'ppc64le'),
]
for distro, config_name in configs:
if (distro == 'opensuse' and '231b232df8f67' in self.lsm.commits
and '6fcb574125e67' not in self.lsm.commits
and self._llvm_version <= (12, 0, 0)):
self._skip_one(
f"{KERNEL_ARCH} {distro} config",
'https://github.com/ClangBuiltLinux/linux/issues/1160',
)
continue
if distro == 'opensuse':
reason = None
if self.lsm.version < (5, 17, 0):
reason = 'https://github.com/ClangBuiltLinux/continuous-integration2/pull/775'
elif ('231b232df8f67' in self.lsm.commits
and '6fcb574125e67' not in self.lsm.commits
and self._llvm_version <= (12, 0, 0)):
reason = 'https://github.com/ClangBuiltLinux/linux/issues/1160'

if reason:
self._skip_one(f"{KERNEL_ARCH} {distro} config", reason)
continue

runner = PowerPCLLVMKernelRunner()
runner.configs = [Path(self.folders.configs, distro, f"{config_name}.config")]
# There is a boot failure with LLVM 11.1.0 (which does not have
Expand Down

0 comments on commit 89596c3

Please sign in to comment.