forked from pool/gcc12
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:
commit
033f9c5118
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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} || \
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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} || \
|
||||
|
Loading…
Reference in New Issue
Block a user