From 52366e33642fcf61439bbe728143b3e4965163e4 Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Wed, 10 Nov 2021 10:15:35 -0500 Subject: [PATCH] Build dyninst-testsuite with -j1 --- dyninst.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dyninst.spec b/dyninst.spec index 22a93f4..24a3c0d 100644 --- a/dyninst.spec +++ b/dyninst.spec @@ -127,6 +127,8 @@ find ../install -name '*.cmake' -execdir \ sed -i '/libtbb.so/ s/".*usr/"\/usr/' $PWD/../install%{_libdir}/cmake/Dyninst/commonTargets.cmake cd ../%{testsuite_base} +# testsuite build sometimes encounters dependency issues with -jN +%define _smp_mflags -j1 %cmake \ -DDyninst_DIR:PATH=$PWD/../install%{_libdir}/cmake/Dyninst \ -DINSTALL_DIR:PATH=%{_libdir}/dyninst/testsuite \