- 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/llvm15?expand=0&rev=34
This commit is contained in:
Aaron Puchert 2024-03-04 21:57:00 +00:00 committed by Git OBS Bridge
parent 54e2b2e872
commit 4cca689cfc
3 changed files with 6 additions and 3 deletions

View File

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

View File

@ -1,6 +1,8 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Mar 3 20:30:50 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.
- Disable test that fails on ppc64le. - Disable test that fails on ppc64le.
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@ -71,7 +71,8 @@
# See https://build.opensuse.org/request/show/968066. # See https://build.opensuse.org/request/show/968066.
%define target_cpu armv6kz %define target_cpu armv6kz
%else %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 %endif
%ifarch %{arm} %ifarch %{arm}