From 7a0dcc0534c4b9e2eb51b53dc57987b153947081 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 21 Jul 2022 20:51:01 +0200 Subject: [PATCH] Disable doctests on armv7hl to work around a compiler crash on LLVM 14 --- rust-bat.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rust-bat.spec b/rust-bat.spec index 434b8cf..90b2ddd 100644 --- a/rust-bat.spec +++ b/rust-bat.spec @@ -329,8 +329,14 @@ install -Dpm0644 target/release/build/%{crate}-*/out/assets/completions/bat.fish %if %{with check} %check +%ifarch %{arm} +# * doctests fail to compile on armv7hl with LLVM 14: +# https://bugzilla.redhat.com/show_bug.cgi?id=2086106 +%cargo_test -- --lib +%else %cargo_test %endif +%endif %changelog %autochangelog