Disable LTO
This commit is contained in:
parent
766d57e663
commit
a07fac9b19
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
Name: openblas
|
Name: openblas
|
||||||
Version: 0.3.10
|
Version: 0.3.10
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: An optimized BLAS library based on GotoBLAS2
|
Summary: An optimized BLAS library based on GotoBLAS2
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/xianyi/OpenBLAS/
|
URL: https://github.com/xianyi/OpenBLAS/
|
||||||
@ -352,6 +352,9 @@ rm -rf netliblapack64
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# openblas fails to build with LTO due to undefined symbols. These could
|
||||||
|
# well be the result of the assembly code used in this package
|
||||||
|
%define _lto_cflags %{nil}
|
||||||
%if !%{lapacke}
|
%if !%{lapacke}
|
||||||
LAPACKE="NO_LAPACKE=1"
|
LAPACKE="NO_LAPACKE=1"
|
||||||
%endif
|
%endif
|
||||||
@ -672,6 +675,9 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 11 2020 Jeff Law <law@redhat.com> - 0.3.10-3
|
||||||
|
- Disable LTO
|
||||||
|
|
||||||
* Tue Jul 28 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.10-2
|
* Tue Jul 28 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.3.10-2
|
||||||
- Include upstream patch 2672 to fix test suite on systems with few CPUs.
|
- Include upstream patch 2672 to fix test suite on systems with few CPUs.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user