From 2c05f3b3bd1fbf07c6aed2eb1ffe61657e5d2a41 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Tue, 10 Aug 2021 14:34:16 +0200 Subject: [PATCH] Disabling building of unittests to workaround #1989847 --- community-mysql.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/community-mysql.spec b/community-mysql.spec index d964f14..aad2bf7 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -492,10 +492,14 @@ cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \ -DWITH_MYSQLD_LDFLAGS="%{build_ldflags}" \ -DCMAKE_C_LINK_FLAGS="%{build_ldflags}" \ -DCMAKE_CXX_LINK_FLAGS="%{build_ldflags}" \ - -DCMAKE_SKIP_INSTALL_RPATH=YES + -DCMAKE_SKIP_INSTALL_RPATH=YES \ + -DWITH_UNIT_TESTS=0 + # Note: linking with GOLD disabled on Armv7hl because of https://bugs.mysql.com/bug.php?id=96698 +# Note: disabling building of unittests to workaround #1989847 + cmake -B %{_vpath_builddir} -LAH %cmake_build @@ -619,7 +623,8 @@ rm -r %{buildroot}%{_datadir}/mysql-test %if %{with test} %if %runselftest pushd %_vpath_builddir -make test VERBOSE=1 +# Note: disabling building of unittests to workaround #1989847 +#make test VERBOSE=1 pushd mysql-test cp ../../mysql-test/%{skiplist} .