Disabling building of unittests to workaround #1989847

Related: #1969430
This commit is contained in:
Michal Schorm 2021-09-21 15:54:40 +02:00
parent 27642a32c4
commit 359f060bd6

View File

@ -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} .