Accepting request 1075289 from home:marxin:branches:devel:gcc

- Speed up builds with --enable-link-serialization.

OBS-URL: https://build.opensuse.org/request/show/1075289
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc12?expand=0&rev=75
This commit is contained in:
Richard Biener 2023-03-31 07:24:24 +00:00 committed by Git OBS Bridge
parent fca6fb2291
commit 52dc136ec6
33 changed files with 37 additions and 128 deletions

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -694,11 +694,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -694,11 +694,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -694,11 +694,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -694,11 +694,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -694,11 +694,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -693,11 +693,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -1579,11 +1579,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -892,11 +892,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 29 14:27:43 UTC 2023 - Martin Liška <mliska@suse.cz>
- Speed up builds with --enable-link-serialization.
-------------------------------------------------------------------
Tue Jan 24 11:03:08 UTC 2023 - Richard Biener <rguenther@suse.com>

View File

@ -2392,11 +2392,8 @@ amdgcn-amdhsa,\
%endif
%if %{use_lto_bootstrap} && !0%{?building_testsuite:1}
--with-build-config=bootstrap-lto-lean \
--enable-link-mutex \
%endif
%ifarch riscv64
--enable-link-mutex \
%endif
--enable-link-serialization \
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST} || \