Accepting request 1076406 from devel:gcc

- Speed up builds with --enable-link-serialization. (forwarded request 1075289 from marxin)

OBS-URL: https://build.opensuse.org/request/show/1076406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc12?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2023-04-01 21:27:03 +00:00 committed by Git OBS Bridge
commit 033f9c5118
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} || \