From bcef4ab1280e42019a9dcb08d1dd45d537b50368 Mon Sep 17 00:00:00 2001 From: noah Date: Thu, 8 Jul 2021 11:55:27 +0800 Subject: [PATCH] I3Y7P1: delete debug log and bootstrap_build to reduce build time --- openjdk-latest.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/openjdk-latest.spec b/openjdk-latest.spec index 88e1463..fb17c30 100644 --- a/openjdk-latest.spec +++ b/openjdk-latest.spec @@ -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 - 1:16.0.1.9-2.rolling +- delete build log and bootstrap_build to reduce build time + * Wed Jun 2 2021 noah - 1:16.0.1.9-1.rolling - add LICENSE to openjdk-latest -- Gitee