|
@@ -23,6 +23,7 @@ fi
|
|
|
echo -e "\e[33m qtmake: $qtmake \e[0m"
|
|
|
|
|
|
show_error=$1
|
|
|
+has_error=0
|
|
|
check_result()
|
|
|
{
|
|
|
if [ "$build_result" != 0 -a "$show_error" == "s" ];then
|
|
@@ -40,15 +41,22 @@ store_result()
|
|
|
echo -e "\e[31m Please modify build error first,Exit!\e[0m"
|
|
|
echo -e "\e[33m*************************************************\e[0m"
|
|
|
error_log="$error_log \n `pwd`"
|
|
|
+ has_error=1
|
|
|
fi
|
|
|
}
|
|
|
|
|
|
show_result()
|
|
|
{
|
|
|
- echo -e "\e[33m*************************************************\e[0m"
|
|
|
- echo -e "\e[31mPlease modify build error first,Exit!\e[0m"
|
|
|
- echo -e "\e[31m$error_log\e[0m"
|
|
|
- echo -e "\e[33m*************************************************\e[0m"
|
|
|
+ if [ "$has_error" != 0 ];then
|
|
|
+ echo -e "\e[33m*************************************************\e[0m"
|
|
|
+ echo -e "\e[31mPlease modify build error first,Exit!\e[0m"
|
|
|
+ echo -e "\e[31m$error_log\e[0m"
|
|
|
+ echo -e "\e[33m*************************************************\e[0m"
|
|
|
+ else
|
|
|
+ echo -e "\e[33m*************************************************\e[0m"
|
|
|
+ echo -e "\e[31m Build Success! \e[0m"
|
|
|
+ echo -e "\e[33m*************************************************\e[0m"
|
|
|
+ fi
|
|
|
}
|
|
|
MAKEOPT=-j8
|
|
|
|
|
@@ -261,7 +269,7 @@ done
|
|
|
|
|
|
|
|
|
fution_app_name=(
|
|
|
- lidar_radar_fusion_cnn
|
|
|
+# lidar_radar_fusion_cnn
|
|
|
)
|
|
|
|
|
|
for x in ${fution_app_name[@]}
|