From 627f10bec9206ce1ea5c8f0c18da98bbf7cc97a8d6729a3491c3901bcf208dec Mon Sep 17 00:00:00 2001 From: Aaron Puchert Date: Sun, 1 May 2022 20:24:23 +0000 Subject: [PATCH] - Revert ThinLTO for aarch64, lld for ppc64 and s390x (for now). OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=14 --- llvm14.changes | 3 +-- llvm14.spec | 10 +++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/llvm14.changes b/llvm14.changes index ee711f8..7e4e60a 100644 --- a/llvm14.changes +++ b/llvm14.changes @@ -5,8 +5,7 @@ Sat Apr 30 12:32:33 UTC 2022 - Aaron Puchert * This release contains bug-fixes for the LLVM 14.0.0 release. This release is API and ABI compatible with 14.0.0. - Rebase llvm-do-not-install-static-libraries.patch. -- See if we can go without gold. -- Try enabling ThinLTO for aarch64. +- Use ThinLTO with lld on i586. ------------------------------------------------------------------- Sun Apr 24 20:52:29 UTC 2022 - Aaron Puchert diff --git a/llvm14.spec b/llvm14.spec index 492257e..9bcef9c 100644 --- a/llvm14.spec +++ b/llvm14.spec @@ -40,11 +40,11 @@ %endif # We use gold where we want to use ThinLTO, but where lld isn't supported (well). -#ifarch %{ix86} ppc64 s390x -#bcond_without gold -#else +%ifarch ppc64 s390x +%bcond_without gold +%else %bcond_with gold -#endif +%endif %ifarch x86_64 %bcond_without lldb @@ -55,7 +55,7 @@ %endif # Disabled on ARM because it's awfully slow and often times out. (boo#1178070) -%ifarch aarch64 %{ix86} ppc64 ppc64le s390x x86_64 +%ifarch %{ix86} ppc64 ppc64le s390x x86_64 %bcond_without thin_lto %else %bcond_with thin_lto