- Disable FMA also on ppc64(le) and s390(x)

This commit is contained in:
Dan Horák 2016-02-26 11:41:21 +01:00
parent 1fdd10c1a0
commit dcf8aac601

View File

@ -1,7 +1,7 @@
Summary: The GNU Scientific Library for numerical analysis
Name: gsl
Version: 2.1
Release: 2%{?dist}
Release: 3%{?dist}
URL: http://www.gnu.org/software/gsl/
# info part of this package is under GFDL license
# eigen/nonsymmv.c and eigen/schur.c
@ -41,7 +41,7 @@ mv THANKS.aux THANKS
%build
# disable FMA
%ifarch aarch64
%ifarch aarch64 ppc64 ppc64le s390 s390x
export CFLAGS="$RPM_OPT_FLAGS -ffp-contract=off"
%endif
%configure
@ -96,6 +96,9 @@ fi
%{_mandir}/man3/*.3*
%changelog
* Fri Feb 26 2016 Dan Horák <dan[at]danny.cz> - 2.1-3
- Disable FMA also on ppc64(le) and s390(x)
* Tue Feb 23 2016 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 2.1-2
- Disable FMA on AArch64 to lower precision so tests do not fail.