Re-enable LTO build

This issue doesn't seem to exist anymore
This commit is contained in:
Nikita Popov 2022-09-12 16:26:30 +02:00
parent be18e34a28
commit f59dec2204

View file

@ -14,7 +14,7 @@
Name: libomp Name: libomp
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}} Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}
Release: 2%{?dist} Release: 3%{?dist}
Summary: OpenMP runtime for clang Summary: OpenMP runtime for clang
License: NCSA License: NCSA
@ -74,9 +74,6 @@ OpenMP regression tests
%autosetup -n %{libomp_srcdir} -p2 %autosetup -n %{libomp_srcdir} -p2
%build %build
# LTO causes build failures in this package. Disable LTO for now
# https://bugzilla.redhat.com/show_bug.cgi?id=1988155
%define _lto_cflags %{nil}
%cmake -GNinja \ %cmake -GNinja \
-DLIBOMP_INSTALL_ALIASES=OFF \ -DLIBOMP_INSTALL_ALIASES=OFF \
@ -163,6 +160,9 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
%{_libexecdir}/tests/libomp/ %{_libexecdir}/tests/libomp/
%changelog %changelog
* Mon Sep 12 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-3
- Re-enable LTO build
* Mon Sep 12 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-2 * Mon Sep 12 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-2
- Add explicit requires from libomp-devel to libomp - Add explicit requires from libomp-devel to libomp