Disable FMA on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
71b7f18760
commit
42d4c43205
7
gsl.spec
7
gsl.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: The GNU Scientific Library for numerical analysis
|
Summary: The GNU Scientific Library for numerical analysis
|
||||||
Name: gsl
|
Name: gsl
|
||||||
Version: 2.7.1
|
Version: 2.7.1
|
||||||
Release: 5%{?dist}
|
Release: 5.0.riscv64%{?dist}
|
||||||
URL: http://www.gnu.org/software/gsl/
|
URL: http://www.gnu.org/software/gsl/
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Source: http://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
|
Source: http://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
|
||||||
@ -42,7 +42,7 @@ mv THANKS.aux THANKS
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
# disable FMA
|
# disable FMA
|
||||||
%ifarch aarch64 ppc64 ppc64le s390 s390x x86_64
|
%ifarch aarch64 ppc64 ppc64le s390 s390x x86_64 riscv64
|
||||||
export CFLAGS="%{optflags} -ffp-contract=off"
|
export CFLAGS="%{optflags} -ffp-contract=off"
|
||||||
%endif
|
%endif
|
||||||
%configure
|
%configure
|
||||||
@ -83,6 +83,9 @@ rm -r %{buildroot}%{_libdir}/*.a
|
|||||||
%{_includedir}/gsl/
|
%{_includedir}/gsl/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 13 2023 David Abdurachmanov <davidlt@rivosinc.com> - 2.7.1-5.0.riscv64
|
||||||
|
- Disable FMA on riscv64
|
||||||
|
|
||||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-5
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user