From 5e2c5371291fc9096f560ea093a94c71717d4784bf21d065d5f54a10b008e9da Mon Sep 17 00:00:00 2001 From: Aaron Puchert Date: Mon, 4 Mar 2024 21:58:13 +0000 Subject: [PATCH] - 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/llvm14?expand=0&rev=61 --- _constraints | 2 +- llvm14.changes | 4 +++- llvm14.spec | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/_constraints b/_constraints index 1e2f2c8..64618dc 100644 --- a/_constraints +++ b/_constraints @@ -5,7 +5,7 @@ 35 - 4096 + 8192 diff --git a/llvm14.changes b/llvm14.changes index b019995..d5d9228 100644 --- a/llvm14.changes +++ b/llvm14.changes @@ -1,6 +1,8 @@ ------------------------------------------------------------------- -Sun Mar 3 20:30:50 UTC 2024 - Aaron Puchert +Mon Mar 4 21:29:51 UTC 2024 - Aaron Puchert +- 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. ------------------------------------------------------------------- diff --git a/llvm14.spec b/llvm14.spec index 622837b..a20679d 100644 --- a/llvm14.spec +++ b/llvm14.spec @@ -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}