Disable FMA on AArch64 to lower precision so tests do not fail.
This commit is contained in:
parent
b655966b2d
commit
1fdd10c1a0
9
gsl.spec
9
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.1
|
Version: 2.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
URL: http://www.gnu.org/software/gsl/
|
URL: http://www.gnu.org/software/gsl/
|
||||||
# info part of this package is under GFDL license
|
# info part of this package is under GFDL license
|
||||||
# eigen/nonsymmv.c and eigen/schur.c
|
# eigen/nonsymmv.c and eigen/schur.c
|
||||||
@ -40,6 +40,10 @@ touch -r THANKS THANKS.aux
|
|||||||
mv THANKS.aux THANKS
|
mv THANKS.aux THANKS
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# disable FMA
|
||||||
|
%ifarch aarch64
|
||||||
|
export CFLAGS="$RPM_OPT_FLAGS -ffp-contract=off"
|
||||||
|
%endif
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
@ -92,6 +96,9 @@ fi
|
|||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sun Feb 21 2016 Orion Poplawski <orion@cora.nwra.com> - 2.1-1
|
||||||
- Update to 2.1
|
- Update to 2.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user