[flint] Disable tests that exhaust memory on s390 (bz 1123757).
Jerry James
jjames at fedoraproject.org
Tue Jul 29 14:52:51 UTC 2014
commit 613f167e17f6226d4e3938b125973a4e340fa325
Author: Jerry James <jamesjer at betterlinux.com>
Date: Tue Jul 29 08:52:42 2014 -0600
Disable tests that exhaust memory on s390 (bz 1123757).
flint.spec | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/flint.spec b/flint.spec
index 7d1374a..da61136 100644
--- a/flint.spec
+++ b/flint.spec
@@ -12,7 +12,7 @@
Name: flint
Version: 2.4.4
-Release: 1%{snapshot}%{?dist}
+Release: 2%{snapshot}%{?dist}
Summary: Fast Library for Number Theory
Group: Applications/Engineering
License: GPLv2+
@@ -110,9 +110,9 @@ for fil in $(find . -name \*.c -o -name \*.h); do
done
%build
-# We set HAVE_FAST_COMPILER to 0 on ARM because otherwise the tests exhaust
-# virtual memory. If other architectures run out of virtual memory while
-# building flintxx/test/t-fmpzxx.cpp, then do likewise.
+# We set HAVE_FAST_COMPILER to 0 on ARM and s390 because otherwise the tests
+# exhaust virtual memory. If other architectures run out of virtual memory
+# while building flintxx/test/t-fmpzxx.cpp, then do likewise.
OS=Linux \
MACHINE=%{_arch} \
FLINT_LIB=libflint.so.%{sover} \
@@ -123,7 +123,7 @@ sh -x ./configure \
--with-mpfr=%{_libdir} \
--with-ntl=%{_libdir} \
--enable-cxx \
-%ifarch %{arm}
+%ifarch %{arm} s390
CFLAGS="%{optflags} -DHAVE_FAST_COMPILER=0" \
CXXFLAGS="%{optflags} -DHAVE_FAST_COMPILER=0" \
%else
@@ -177,6 +177,9 @@ make check QUIET_CC= QUIET_CXX= QUIET_AR=
%changelog
+* Mon Jul 28 2014 Jakub Čajka <jcajka at redhat.com> - 2.4.4-2
+- Disable tests that exhaust memory on s390 (bz 1123757)
+
* Mon Jul 21 2014 Jerry James <loganjerry at gmail.com> - 2.4.4-1
- New upstream release
More information about the scm-commits
mailing list