From 359f060bd6a29fdba5f00feb629d5b25864e0538 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Tue, 21 Sep 2021 15:54:40 +0200 Subject: [PATCH] Disabling building of unittests to workaround #1989847 Related: #1969430 --- mysql.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mysql.spec b/mysql.spec index e4f2257..afe97cf 100644 --- a/mysql.spec +++ b/mysql.spec @@ -492,10 +492,13 @@ 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 +622,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} .