mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-12-01 03:32:55 +00:00
Enable lto on s390x and arm
This commit is contained in:
parent
6564e5278d
commit
1bdf054407
1 changed files with 4 additions and 8 deletions
12
llvm.spec
12
llvm.spec
|
@ -68,7 +68,7 @@
|
||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
|
@ -207,14 +207,7 @@ LLVM's modified googletest sources.
|
||||||
utils/update_cc_test_checks.py
|
utils/update_cc_test_checks.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
# 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
|
%global _lto_cflags -flto=thin
|
||||||
%endif
|
|
||||||
|
|
||||||
%ifarch s390 s390x %{arm} %ix86
|
%ifarch s390 s390x %{arm} %ix86
|
||||||
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
|
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
|
||||||
|
@ -548,6 +541,9 @@ fi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 11 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-7
|
||||||
|
- Enable lto on s390x and arm
|
||||||
|
|
||||||
* Mon Oct 25 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-6
|
* Mon Oct 25 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-6
|
||||||
- Build with Thin LTO
|
- Build with Thin LTO
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue