Disable LTO flags
This commit is contained in:
parent
a5dd511024
commit
93af49f852
11
petsc.spec
11
petsc.spec
@ -6,6 +6,8 @@
|
||||
# undefined-non-weak-symbol libpetsc.so.3.17.4_glibcxx_assert_fail
|
||||
%undefine _ld_as_needed
|
||||
|
||||
%global _lto_cflags %{nil}
|
||||
|
||||
# Testing libpetsc ?
|
||||
%bcond_with check
|
||||
#
|
||||
@ -289,7 +291,7 @@
|
||||
Name: petsc
|
||||
Summary: Portable Extensible Toolkit for Scientific Computation
|
||||
Version: %{releasever}.4
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
License: BSD
|
||||
URL: https://petsc.org/
|
||||
Source0: https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-with-docs-%{version}.tar.gz
|
||||
@ -617,10 +619,6 @@ pushd %{name}-%{version}
|
||||
popd
|
||||
|
||||
%build
|
||||
%ifarch %{arm}
|
||||
# Likely running out of memory during build
|
||||
%global _lto_cflags %{nil}
|
||||
%endif
|
||||
pushd %{name}-%{version}
|
||||
%configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran \
|
||||
%{petsc_build_options} \
|
||||
@ -1171,6 +1169,9 @@ xvfb-run -a make MAKE_NP=$RPM_BUILD_NCPUS all test -C build64 V=1 MPIEXEC='%{_bu
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Feb 23 2023 Antonio Trande <sagitter@fedoraproject.org> - 3.17.4-11
|
||||
- Disable LTO flags
|
||||
|
||||
* Wed Feb 22 2023 Antonio Trande <sagitter@fedoraproject.org> - 3.17.4-10
|
||||
- Undefine _ld_as_needed
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user