Commit 85b4617b authored by Seth Howell's avatar Seth Howell Committed by Ben Walker
Browse files

autobuild: move shared lib build under make timer



This wasn't getting reported in our timing tables before.

Change-Id: Ic58ba9aed899f84e19233fb08302d391745775f1
Signed-off-by: default avatarSeth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/430842


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent 38d2cb20
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -31,14 +31,6 @@ if [ $SPDK_RUN_CHECK_FORMAT -eq 1 ]; then
fi
timing_exit check_format

$MAKE $MAKEFLAGS clean
if [ $SPDK_BUILD_SHARED_OBJECT -eq 1 ]; then
	./configure $config_params --with-shared
	$MAKE $MAKEFLAGS
	$MAKE $MAKEFLAGS clean
	report_test_completion "shared_object_build"
fi

scanbuild=''
make_timing_label='make'
if [ $SPDK_RUN_SCANBUILD -eq 1 ] && hash scan-build; then
@@ -63,6 +55,15 @@ fi
echo $scanbuild

timing_enter "$make_timing_label"

$MAKE $MAKEFLAGS clean
if [ $SPDK_BUILD_SHARED_OBJECT -eq 1 ]; then
	./configure $config_params --with-shared
	$MAKE $MAKEFLAGS
	$MAKE $MAKEFLAGS clean
	report_test_completion "shared_object_build"
fi

fail=0
./configure $config_params
time $scanbuild $MAKE $MAKEFLAGS || fail=1