#118 Build with Thin LTO
Merged 11 months ago by sergesanspaille. Opened 11 months ago by tstellar.
rpms/ tstellar/llvm thinlto  into  rawhide

file modified
+10 -9
@@ -67,7 +67,7 @@ 

  

  Name:		%{pkg_name}

  Version:	%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}

- Release:	5%{?dist}

+ Release:	6%{?dist}

  Summary:	The Low Level Virtual Machine

  

  License:	NCSA
@@ -207,15 +207,13 @@ 

  

  %build

  

- # Disable LTO on s390x, this causes some test failures:

- # LLVM-Unit :: Target/AArch64/./AArch64Tests/InstSizes.Authenticated

- # LLVM-Unit :: Target/AArch64/./AArch64Tests/InstSizes.PATCHPOINT

- # LLVM-Unit :: Target/AArch64/./AArch64Tests/InstSizes.STACKMAP

- # LLVM-Unit :: Target/AArch64/./AArch64Tests/InstSizes.TLSDESC_CALLSEQ

- # On X86_64, LTO builds of TableGen crash.  This can be reproduced by:

- # %%cmake_build --target include/llvm/IR/IntrinsicsAArch64.h

- # Because of these failures, lto is disabled for now.

+ # Disable lto on s390x due to https://bugzilla.redhat.com/show_bug.cgi?id=2017193

+ # Disable lto on arm due to https://bugzilla.redhat.com/show_bug.cgi?id=1918924

+ %ifarch s390x %{arm}

  %global _lto_cflags %{nil}

+ %else

+ %global _lto_cflags -flto=thin

+ %endif

  

  %ifarch s390 s390x %{arm} %ix86

  # Decrease debuginfo verbosity to reduce memory consumption during final library linking
@@ -549,6 +547,9 @@ 

  %endif

  

  %changelog

+ * Mon Oct 25 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-6

+ - Build with Thin LTO

+ 

  * Mon Oct 18 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-5

  - Build with clang

  

Full LTO is too memory intensive for most architectures, so use Thin LTO
instead.

Build succeeded.

rebased onto c737b7ea3124aa8515746e7f01008f53e650bf3b

11 months ago

rebased onto dd5bd14

11 months ago

Build succeeded.

All green, and cool move forward!

Pull-Request has been merged by sergesanspaille

11 months ago
Metadata