Disable FMA on AArch64 to lower precision so tests do not fail.

This commit is contained in:
Marcin Juszkiewicz 2016-02-23 14:31:59 +01:00
parent b655966b2d
commit 1fdd10c1a0

View File

@ -1,7 +1,7 @@
Summary: The GNU Scientific Library for numerical analysis
Name: gsl
Version: 2.1
Release: 1%{?dist}
Release: 2%{?dist}
URL: http://www.gnu.org/software/gsl/
# info part of this package is under GFDL license
# eigen/nonsymmv.c and eigen/schur.c
@ -40,6 +40,10 @@ touch -r THANKS THANKS.aux
mv THANKS.aux THANKS
%build
# disable FMA
%ifarch aarch64
export CFLAGS="$RPM_OPT_FLAGS -ffp-contract=off"
%endif
%configure
make %{?_smp_mflags}
@ -92,6 +96,9 @@ fi
%{_mandir}/man3/*.3*
%changelog
* Tue Feb 23 2016 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 2.1-2
- Disable FMA on AArch64 to lower precision so tests do not fail.
* Sun Feb 21 2016 Orion Poplawski <orion@cora.nwra.com> - 2.1-1
- Update to 2.1