I3Y7P1: delete debug log and bootstrap_build to reduce build time

This commit is contained in:
noah 2021-07-08 11:55:27 +08:00
parent 4259dcc6f0
commit bcef4ab128

View File

@ -97,9 +97,9 @@
%global rev_build_loop %{build_loop2} %{build_loop1} %global rev_build_loop %{build_loop2} %{build_loop1}
%ifarch %{jit_arches} %ifarch %{jit_arches}
%global bootstrap_build 1 %global bootstrap_build 0
%else %else
%global bootstrap_build 1 %global bootstrap_build 0
%endif %endif
%if %{bootstrap_build} %if %{bootstrap_build}
@ -168,7 +168,7 @@
%global top_level_dir_name %{origin} %global top_level_dir_name %{origin}
%global minorver 0 %global minorver 0
%global buildver 9 %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 # 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 %if %is_system_jdk
%global priority %( printf '%02d%02d%02d%02d' %{majorver} %{minorver} %{securityver} %{buildver} ) %global priority %( printf '%02d%02d%02d%02d' %{majorver} %{minorver} %{securityver} %{buildver} )
@ -1344,7 +1344,6 @@ if echo $debugbuild | grep -q "debug" ; then
fi fi
make \ make \
JAVAC_FLAGS=-g \ JAVAC_FLAGS=-g \
LOG=trace \
WARNINGS_ARE_ERRORS="-Wno-error" \ WARNINGS_ARE_ERRORS="-Wno-error" \
CFLAGS_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 ) $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 %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 * Wed Jun 2 2021 noah <hedongbo@huawei.com> - 1:16.0.1.9-1.rolling
- add LICENSE to openjdk-latest - add LICENSE to openjdk-latest