From da3d78c9a2fac50a083f3a39d68429bf567939b2 Mon Sep 17 00:00:00 2001 From: Nianqing Yao Date: Fri, 5 May 2023 21:18:33 +0800 Subject: [PATCH] Fix build on riscv64 Co-authored-by: Liu Yang --- cmake.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmake.spec b/cmake.spec index 65700d6..8b3632b 100644 --- a/cmake.spec +++ b/cmake.spec @@ -457,6 +457,10 @@ NO_TEST="$NO_TEST|CustomCommand|RunCMake.PositionIndependentCode" %if %{with bootstrap} NO_TEST="$NO_TEST|curl" %endif +%ifarch riscv64 +# These three tests timeout on riscv64, skip them. +NO_TEST="$NO_TEST|Qt5Autogen.ManySources|Qt5Autogen.MocInclude|Qt5Autogen.MocIncludeSymlink" +%endif bin/ctest%{?name_suffix} %{?_smp_mflags} -V -E "$NO_TEST" --output-on-failure ## do this only periodically, not for every build -- besser82 20221102 # Keep an eye on failing tests @@ -529,6 +533,9 @@ popd %changelog +* Fri May 05 2023 Nianqing Yao - 3.26.3-2 +- Fix build on riscv64. + * Wed Apr 05 2023 Björn Esser - 3.26.3-1 - cmake-3.26.3 Fixes rhbz#2184478