From 9b4731308374c81d3e9aabc86f99b563e659384fe81981d2d45f348bbef1e98c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Fri, 13 May 2022 09:22:13 +0000 Subject: [PATCH 1/5] - Add memory per job constraint. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=37 --- _constrains | 7 +++++++ mold.changes | 5 +++++ 2 files changed, 12 insertions(+) create mode 100644 _constrains diff --git a/_constrains b/_constrains new file mode 100644 index 0000000..566ef16 --- /dev/null +++ b/_constrains @@ -0,0 +1,7 @@ + + + + 1000 + + + diff --git a/mold.changes b/mold.changes index 16737f1..21e01da 100644 --- a/mold.changes +++ b/mold.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 13 09:21:22 UTC 2022 - Martin Liška + +- Add memory per job constraint. + ------------------------------------------------------------------- Tue May 10 12:30:07 UTC 2022 - Martin Liška From 780232e176d62ebe14459257b90a0cc6f9a69463cfef1c4c6fe7c212b2de2ef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Fri, 13 May 2022 09:31:45 +0000 Subject: [PATCH 2/5] - Use better CC and TEST_CC variables. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=38 --- mold.changes | 5 +++++ mold.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/mold.changes b/mold.changes index 21e01da..fd85105 100644 --- a/mold.changes +++ b/mold.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 13 09:31:25 UTC 2022 - Martin Liška + +- Use better CC and TEST_CC variables. + ------------------------------------------------------------------- Fri May 13 09:21:22 UTC 2022 - Martin Liška diff --git a/mold.spec b/mold.spec index d9cd8cf..8599d1d 100644 --- a/mold.spec +++ b/mold.spec @@ -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} \ From 08aca1e80c89a1dd3d9fc36a08c477a937eb86b380a0eb3d8cc9d002b2c22e1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Fri, 13 May 2022 09:40:52 +0000 Subject: [PATCH 3/5] Update memory constraint. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=39 --- _constrains | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_constrains b/_constrains index 566ef16..e65003d 100644 --- a/_constrains +++ b/_constrains @@ -1,7 +1,7 @@ - 1000 + 1500 From 0bad48ca85c3d899733103cbfa94000b6460bba713cf7931840328a46bbdad46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Fri, 13 May 2022 09:45:57 +0000 Subject: [PATCH 4/5] Rename file. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=40 --- _constrains => _constraints | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename _constrains => _constraints (100%) diff --git a/_constrains b/_constraints similarity index 100% rename from _constrains rename to _constraints From fa0fbd7b84d25170908d2f9f33a2c9e9b9671ab2623408630f402a0d986e8c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Fri, 13 May 2022 11:39:22 +0000 Subject: [PATCH 5/5] Increase constraints. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/mold?expand=0&rev=41 --- _constraints | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_constraints b/_constraints index e65003d..cf31661 100644 --- a/_constraints +++ b/_constraints @@ -1,7 +1,7 @@ - 1500 + 1800