autopackage: Make lto build dependent only on RUN_NIGHTLY flag

This is done in preparation for the RPM tests.

Signed-off-by: Michal Berger <michalx.berger@intel.com>
Change-Id: I93cd0d3d7ddeff54387e2a270e9713b2415845b0
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7142
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
This commit is contained in:
Michal Berger 2021-03-30 11:27:48 +02:00 committed by Tomasz Zawadzki
parent 13cd7c597a
commit d22233ac59

View File

@ -28,7 +28,7 @@ if [ $(git status --porcelain --ignore-submodules | wc -l) -ne 0 ]; then
fi fi
timing_exit porcelain_check timing_exit porcelain_check
if [[ $RUN_NIGHTLY -eq 0 && $SPDK_TEST_RELEASE_BUILD -eq 0 ]]; then if [[ $RUN_NIGHTLY -eq 0 ]]; then
timing_finish timing_finish
exit 0 exit 0
fi fi