]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
scripts/oss-fuzz: Limit target list to i386-softmmu
authorThomas Huth <thuth@redhat.com>
Fri, 17 Jul 2020 06:57:42 +0000 (08:57 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 21 Jul 2020 05:21:54 +0000 (07:21 +0200)
The build.sh script only copies qemu-fuzz-i386 to the destination folder,
so we can speed up the compilation step quite a bit by not compiling the
other targets here.

Signed-off-by: Thomas Huth <thuth@redhat.com>
scripts/oss-fuzz/build.sh

index f5cee3d67e1c937596162d5edca334dc323b4f2a..a07b3022e871e6b66ba0ed1080c42b5d026f3b82 100755 (executable)
@@ -68,7 +68,7 @@ mkdir -p "$DEST_DIR/lib/"  # Copy the shared libraries here
 
 # Build once to get the list of dynamic lib paths, and copy them over
 ../configure --disable-werror --cc="$CC" --cxx="$CXX" \
-    --extra-cflags="$EXTRA_CFLAGS"
+    --extra-cflags="$EXTRA_CFLAGS" --target-list="i386-softmmu"
 
 if ! make CONFIG_FUZZ=y CFLAGS="$LIB_FUZZING_ENGINE" "-j$(nproc)" \
     i386-softmmu/fuzz; then