未验证 提交 3adeea60 编写于 作者: Z zhangchunle 提交者: GitHub

test=document_fix (#43322)

上级 899efc4c
...@@ -481,10 +481,10 @@ EOF ...@@ -481,10 +481,10 @@ EOF
} }
function cmake_gen_and_build() { function cmake_gen_and_build() {
startTime_s=100 startTime_s=`date +%s`
cmake_gen $1 cmake_gen $1
build $2 build $2
endTime_s=200 endTime_s=`date +%s`
[ -n "$startTime_firstBuild" ] && startTime_s=$startTime_firstBuild [ -n "$startTime_firstBuild" ] && startTime_s=$startTime_firstBuild
echo "Build Time: $[ $endTime_s - $startTime_s ]s" 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 echo "ipipe_log_param_Build_Time: $[ $endTime_s - $startTime_s ]s" >> ${PADDLE_ROOT}/build/build_summary.txt
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册