!25 delete debug log and bootstrap_build to reduce build time

From: @haddybo
Reviewed-by: @jiangfeilong1003
Signed-off-by: @jiangfeilong1003
This commit is contained in:
openeuler-ci-bot 2021-07-08 08:16:48 +00:00 committed by Gitee
commit 43971e4df5

View File

@ -97,9 +97,9 @@
%global rev_build_loop %{build_loop2} %{build_loop1}
%ifarch %{jit_arches}
%global bootstrap_build 1
%global bootstrap_build 0
%else
%global bootstrap_build 1
%global bootstrap_build 0
%endif
%if %{bootstrap_build}
@ -168,7 +168,7 @@
%global top_level_dir_name %{origin}
%global minorver 0
%global buildver 9
%global rpmrelease 1
%global rpmrelease 2
# priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit
%if %is_system_jdk
%global priority %( printf '%02d%02d%02d%02d' %{majorver} %{minorver} %{securityver} %{buildver} )
@ -1344,7 +1344,6 @@ if echo $debugbuild | grep -q "debug" ; then
fi
make \
JAVAC_FLAGS=-g \
LOG=trace \
WARNINGS_ARE_ERRORS="-Wno-error" \
CFLAGS_WARNINGS_ARE_ERRORS="-Wno-error" \
$maketargets || ( pwd; find $top_dir_abs_path -name "hs_err_pid*.log" | xargs cat && false )
@ -1739,6 +1738,9 @@ require "copy_jdk_configs.lua"
%changelog
* Thu Jul 8 2021 noah <hedongbo@huawei.com> - 1:16.0.1.9-2.rolling
- delete build log and bootstrap_build to reduce build time
* Wed Jun 2 2021 noah <hedongbo@huawei.com> - 1:16.0.1.9-1.rolling
- add LICENSE to openjdk-latest