- Fix PowerPC triples: use powerpc[64[le]] instead of ppc[64[le]].

- Require 8 GB memory for 64-bit architectures to prevent OOM.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=22
This commit is contained in:
Aaron Puchert 2024-03-04 21:50:51 +00:00 committed by Git OBS Bridge
parent 843a71a34f
commit 5f7199f9df
3 changed files with 6 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<size unit="G">35</size>
</disk>
<memory>
<size unit="M">4096</size>
<size unit="M">8192</size>
</memory>
</hardware>
<hostlabel exclude="true">SLOW_CPU</hostlabel>

View File

@ -1,6 +1,8 @@
-------------------------------------------------------------------
Sun Mar 3 22:46:16 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
Mon Mar 4 21:29:51 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Fix PowerPC triples: use powerpc[64[le]] instead of ppc[64[le]].
- Require 8 GB memory for 64-bit architectures to prevent OOM.
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------

View File

@ -71,7 +71,8 @@
# See https://build.opensuse.org/request/show/968066.
%define target_cpu armv6kz
%else
%define target_cpu %{_target_cpu}
# What RPM spells ppc, GCC spells powerpc.
%define target_cpu %{lua:print((string.gsub(rpm.expand("%{_target_cpu}"), "ppc", "powerpc")))}
%endif
%ifarch %{arm}