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:
parent
fca6fb2291
commit
52dc136ec6
@ -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