From 3adeea60d85d316772c3d722687dd9c84c8dddd0 Mon Sep 17 00:00:00 2001 From: zhangchunle Date: Wed, 8 Jun 2022 18:05:13 +0800 Subject: [PATCH] test=document_fix (#43322) --- paddle/scripts/paddle_build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index ad081d8128..3ed5f992ed 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -481,10 +481,10 @@ EOF } function cmake_gen_and_build() { - startTime_s=100 + startTime_s=`date +%s` cmake_gen $1 build $2 - endTime_s=200 + endTime_s=`date +%s` [ -n "$startTime_firstBuild" ] && startTime_s=$startTime_firstBuild echo "Build Time: $[ $endTime_s - $startTime_s ]s" echo "ipipe_log_param_Build_Time: $[ $endTime_s - $startTime_s ]s" >> ${PADDLE_ROOT}/build/build_summary.txt -- GitLab