Skip to contentSkip to conversation

coverity_scan: switch to vpath build

PATCH New Paolo Bonzini 1 participant 1 message Oct 29, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 coverity_scan: switch to vpath build

This is the patch that has been running on the coverity cronjob for a few weeks now.

---
 scripts/coverity-scan/run-coverity-scan | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
scripts/coverity-scan/run-coverity-scan +5 -3
index 6eefb4b558..7395bbfad4 100755
@@ -380,15 +380,17 @@ export PATH="$TOOLBIN:$PATH"
 
 cd "$SRCDIR"
 
-echo "Doing make distclean..."
-make distclean
+echo "Nuking build directory..."
+rm -rf +build
+mkdir +build
+cd +build
 
 echo "Configuring..."
 # We configure with a fixed set of enables here to ensure that we don't
 # accidentally reduce the scope of the analysis by doing the build on
 # the system that's missing a dependency that we need to build part of
 # the codebase.
-./configure --disable-modules --enable-sdl --enable-gtk \
+../configure --disable-modules --enable-sdl --enable-gtk \
     --enable-opengl --enable-vte --enable-gnutls \
     --enable-nettle --enable-curses --enable-curl \
     --audio-drv-list=oss,alsa,sdl,pa --enable-virtfs \
Signature · 1 line
2.26.2