[R-qtl] - Changed stack limit on ppc64 and s390x to allow checks to pass

Dan Horák sharkcz at fedoraproject.org
Tue Jul 1 08:57:07 UTC 2014


commit c8e95f535331b027dbb363d6203fef3bb49a783f
Author: Dan Horák <dan at danny.cz>
Date:   Tue Jul 1 10:57:13 2014 +0200

    - Changed stack limit on ppc64 and s390x to allow checks to pass

 R-qtl.spec |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/R-qtl.spec b/R-qtl.spec
index 6deb505..e7a5aa9 100644
--- a/R-qtl.spec
+++ b/R-qtl.spec
@@ -2,7 +2,7 @@
 
 Name:             R-%{packname}
 Version:          1.32.10
-Release:          2%{?dist}
+Release:          3%{?dist}
 Source0:          http://www.rqtl.org/download/%{packname}_1.32-10.tar.gz
 License:          GPLv3
 URL:              http://www.rqtl.org/
@@ -53,12 +53,15 @@ rm -rf %{buildroot}%{_libdir}/R/library/R.css
 rm -rf %{buildroot}%{_libdir}/R/library/%{packname}/contrib
 
 %check
-# Check fails on ppc64 with
+# Check fails on ppc64 and s390x with
 # Error: C stack usage is too close to the limit
-%ifnarch ppc64
-R CMD check %{packname}
+# stack limit set to hard limit allow tests to pass
+%ifarch %{power64} s390x
+ulimit -Ss hard
 %endif
 
+R CMD check %{packname}
+
 %clean
 rm -rf %{buildroot}
 
@@ -86,6 +89,9 @@ rm -rf %{buildroot}
 %{_libdir}/R/library/%{packname}/sampledata
 
 %changelog
+* Tue Jul 01 2014 Jakub Čajka <jcajka at redhat.com> - 1.32.10-3
+- Changed stack limit on ppc64 and s390x to allow checks to pass
+
 * Sat Jun 28 2014 Mattias Ellert <mattias.ellert at fysast.uu.se> - 1.32.10-2
 - Disable checks on ppc64
 


More information about the scm-commits mailing list