未验证 提交 e6d29e00 编写于 作者: R risemeup1 提交者: GitHub

add information of build_size (#49397)

上级 34bf3d09
...@@ -459,7 +459,7 @@ EOF ...@@ -459,7 +459,7 @@ EOF
if ls ${PADDLE_ROOT}/build/python/dist/*whl >/dev/null 2>&1; then if ls ${PADDLE_ROOT}/build/python/dist/*whl >/dev/null 2>&1; then
PR_whlSize=$($com ${PADDLE_ROOT}/build/python/dist |awk '{print $1}') PR_whlSize=$($com ${PADDLE_ROOT}/build/python/dist |awk '{print $1}')
elif ls ${PADDLE_ROOT}/dist/*whl >/dev/null 2>&1; then elif ls ${PADDLE_ROOT}/dist/*whl >/dev/null 2>&1; then
PR_whlSize=$($com ${PADDLE_ROOT}/build/python/dist |awk '{print $1}') PR_whlSize=$($com ${PADDLE_ROOT}/dist |awk '{print $1}')
fi fi
echo "PR whl Size: $PR_whlSize" echo "PR whl Size: $PR_whlSize"
echo "ipipe_log_param_PR_whl_Size: $PR_whlSize" >> ${PADDLE_ROOT}/build/build_summary.txt echo "ipipe_log_param_PR_whl_Size: $PR_whlSize" >> ${PADDLE_ROOT}/build/build_summary.txt
...@@ -3763,6 +3763,8 @@ function run_setup(){ ...@@ -3763,6 +3763,8 @@ function run_setup(){
exit 7; exit 7;
fi fi
build_size
endTime_s=`date +%s` 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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册