From 1fdd10c1a061741349e429c93679ad5e487d6ad7 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Tue, 23 Feb 2016 14:31:59 +0100 Subject: [PATCH] Disable FMA on AArch64 to lower precision so tests do not fail. --- gsl.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gsl.spec b/gsl.spec index fde4e59..759d437 100644 --- a/gsl.spec +++ b/gsl.spec @@ -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 - 2.1-2 +- Disable FMA on AArch64 to lower precision so tests do not fail. + * Sun Feb 21 2016 Orion Poplawski - 2.1-1 - Update to 2.1