autobuild: move shared lib build under make timer
This wasn't getting reported in our timing tables before. Change-Id: Ic58ba9aed899f84e19233fb08302d391745775f1 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/430842 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
38d2cb200d
commit
85b4617b24
17
autobuild.sh
17
autobuild.sh
@ -31,14 +31,6 @@ if [ $SPDK_RUN_CHECK_FORMAT -eq 1 ]; then
|
|||||||
fi
|
fi
|
||||||
timing_exit check_format
|
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=''
|
scanbuild=''
|
||||||
make_timing_label='make'
|
make_timing_label='make'
|
||||||
if [ $SPDK_RUN_SCANBUILD -eq 1 ] && hash scan-build; then
|
if [ $SPDK_RUN_SCANBUILD -eq 1 ] && hash scan-build; then
|
||||||
@ -63,6 +55,15 @@ fi
|
|||||||
echo $scanbuild
|
echo $scanbuild
|
||||||
|
|
||||||
timing_enter "$make_timing_label"
|
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
|
fail=0
|
||||||
./configure $config_params
|
./configure $config_params
|
||||||
time $scanbuild $MAKE $MAKEFLAGS || fail=1
|
time $scanbuild $MAKE $MAKEFLAGS || fail=1
|
||||||
|
Loading…
Reference in New Issue
Block a user