Fix build on riscv64

Co-authored-by: Liu Yang <Yang.Liu.sn@gmail.com>
This commit is contained in:
Nianqing Yao 2023-05-05 21:18:33 +08:00
parent fa5e51275a
commit da3d78c9a2
1 changed files with 7 additions and 0 deletions

View File

@ -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 <imbearchild@outlook.com> - 3.26.3-2
- Fix build on riscv64.
* Wed Apr 05 2023 Björn Esser <besser82@fedoraproject.org> - 3.26.3-1
- cmake-3.26.3
Fixes rhbz#2184478