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:
commit
58099077b1
7
_constraints
Normal file
7
_constraints
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<constraints>
|
||||||
|
<hardware>
|
||||||
|
<memoryperjob>
|
||||||
|
<size unit="M">1800</size>
|
||||||
|
</memoryperjob>
|
||||||
|
</hardware>
|
||||||
|
</constraints>
|
10
mold.changes
10
mold.changes
@ -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>
|
Tue May 10 12:30:07 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
@ -67,9 +67,6 @@ build time especially in rapid debug-edit-rebuild cycles.
|
|||||||
%if %{suse_version} < 1550
|
%if %{suse_version} < 1550
|
||||||
export CC=gcc-10
|
export CC=gcc-10
|
||||||
export CXX=g++-10
|
export CXX=g++-10
|
||||||
%else
|
|
||||||
export CC=gcc
|
|
||||||
export CXX=g++
|
|
||||||
%endif
|
%endif
|
||||||
export CXXFLAGS="%{optflags} -Wno-sign-compare"
|
export CXXFLAGS="%{optflags} -Wno-sign-compare"
|
||||||
|
|
||||||
@ -93,6 +90,10 @@ LIBEXECDIR=%{_libexecdir} \
|
|||||||
%{build_args}
|
%{build_args}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{suse_version} < 1550
|
||||||
|
export TEST_CC=gcc-10
|
||||||
|
export TEST_CXX=g++-10
|
||||||
|
%endif
|
||||||
make test -k -e \
|
make test -k -e \
|
||||||
PREFIX=%{_prefix} \
|
PREFIX=%{_prefix} \
|
||||||
BINDIR=%{_bindir} \
|
BINDIR=%{_bindir} \
|
||||||
|
Loading…
Reference in New Issue
Block a user