Accepting request 978268 from devel:tools:compiler

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/978268
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2022-05-20 15:51:10 +00:00 committed by Git OBS Bridge
commit 58099077b1
3 changed files with 21 additions and 3 deletions

7
_constraints Normal file
View File

@ -0,0 +1,7 @@
<constraints>
<hardware>
<memoryperjob>
<size unit="M">1800</size>
</memoryperjob>
</hardware>
</constraints>

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri May 13 09:31:25 UTC 2022 - Martin Liška <mliska@suse.cz>
- Use better CC and TEST_CC variables.
-------------------------------------------------------------------
Fri May 13 09:21:22 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add memory per job constraint.
-------------------------------------------------------------------
Tue May 10 12:30:07 UTC 2022 - Martin Liška <mliska@suse.cz>

View File

@ -67,9 +67,6 @@ build time especially in rapid debug-edit-rebuild cycles.
%if %{suse_version} < 1550
export CC=gcc-10
export CXX=g++-10
%else
export CC=gcc
export CXX=g++
%endif
export CXXFLAGS="%{optflags} -Wno-sign-compare"
@ -93,6 +90,10 @@ LIBEXECDIR=%{_libexecdir} \
%{build_args}
%check
%if %{suse_version} < 1550
export TEST_CC=gcc-10
export TEST_CXX=g++-10
%endif
make test -k -e \
PREFIX=%{_prefix} \
BINDIR=%{_bindir} \